Merge branch 'sample-format' of https://github.com/kmcallister/cpal into fix-signed
This commit is contained in:
commit
c71d9d74b3
|
@ -50,7 +50,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…
Reference in New Issue