Enable 32bits samples with WASAPI
This commit is contained in:
parent
77fb55329e
commit
078769dbbd
@ -188,6 +188,7 @@ impl Voice {
|
||||
pub fn get_samples_format(&self) -> ::SampleFormat {
|
||||
match self.bits_per_sample {
|
||||
16 => ::SampleFormat::I16,
|
||||
32 => ::SampleFormat::F32,
|
||||
_ => panic!("{}-bit format not yet supported", self.bits_per_sample),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user