[vlc-devel] [PATCH] audiotrack: don't use FLOAT, it breaks 5.1/7.1

Thomas Guillem thomas at gllm.fr
Thu Mar 12 13:58:36 CET 2015


Since 5.1 or 7.1 Float is down sampled to Stereo Float.
---
 modules/audio_output/audiotrack.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index 11dd08d..1471793 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -92,7 +92,8 @@ struct aout_sys_t {
 /* Soft volume helper */
 #include "audio_output/volume.h"
 
-#define AUDIOTRACK_USE_FLOAT
+// Don't use Float for now since 5.1/7.1 Float is down sampled to Stereo Float
+//#define AUDIOTRACK_USE_FLOAT
 // TODO: activate getTimestamp for new android versions
 //#define AUDIOTRACK_USE_TIMESTAMP
 
-- 
2.1.3




More information about the vlc-devel mailing list