Enable 32bits samples with WASAPI

This commit is contained in:
Pierre Krieger 2015-09-01 15:58:22 +02:00
parent 77fb55329e
commit 078769dbbd
1 changed files with 1 additions and 0 deletions

View File

@ -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),
}
}