Correct reported ALSA sample format
This commit is contained in:
parent
bbee77e922
commit
8692eb2fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ impl Voice {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_samples_format(&self) -> ::SampleFormat {
|
pub fn get_samples_format(&self) -> ::SampleFormat {
|
||||||
::SampleFormat::U16
|
::SampleFormat::I16
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn append_data<'a, T>(&'a mut self, max_elements: usize) -> Buffer<'a, T> where T: Clone {
|
pub fn append_data<'a, T>(&'a mut self, max_elements: usize) -> Buffer<'a, T> where T: Clone {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue