From 8692eb2fc6bf94821a19ec39e577597e2cbf497e Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Tue, 24 Feb 2015 14:02:22 -0800 Subject: [PATCH] Correct reported ALSA sample format --- src/alsa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alsa/mod.rs b/src/alsa/mod.rs index f086e8e..4e98338 100644 --- a/src/alsa/mod.rs +++ b/src/alsa/mod.rs @@ -49,7 +49,7 @@ impl Voice { } 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 {