Эх сурвалжийг харах

Correct ffmpeg output format argument

The pcm_f32le codec is only supported with the f32le output format.
Frans Bergman 1 сар өмнө
parent
commit
a7c3d1e106

+ 1 - 1
src/audio/subprocess.rs

@@ -45,7 +45,7 @@ pub async fn ffmpeg_pcm(url: &str) -> Result<Box<dyn MediaSource + Send>, String
         .arg("-i")
         .arg(url)
         .arg("-f")
-        .arg("s16le")
+        .arg("f32le")
         .arg("-ar")
         .arg("48000")
         .arg("-ac")