Fixed Jackaudio compiling (#222)

This commit is contained in:
StopMotionCuber 2018-05-15 20:33:58 +02:00 committed by Paul Liétar
parent deb240c02f
commit 21f1ccfb5a

View file

@ -16,7 +16,7 @@ pub struct JackData {
} }
fn pcm_to_f32(sample: i16) -> f32 { fn pcm_to_f32(sample: i16) -> f32 {
sample as f32 / 32768.0; sample as f32 / 32768.0
} }
impl ProcessHandler for JackData { impl ProcessHandler for JackData {