瀏覽代碼

Fixed Jackaudio compiling (#222)

StopMotionCuber 7 年之前
父節點
當前提交
21f1ccfb5a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playback/src/audio_backend/jackaudio.rs

+ 1 - 1
playback/src/audio_backend/jackaudio.rs

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