[vlc-commits] audiotrack: don't use FLOAT, it breaks 5.1/7.1
Thomas Guillem
git at videolan.org
Thu Mar 12 14:21:23 CET 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar 12 13:58:36 2015 +0100| [e8bf3a98ff57048d3a80ef4102cd97b578570c88] | committer: Jean-Baptiste Kempf
audiotrack: don't use FLOAT, it breaks 5.1/7.1
Since 5.1 or 7.1 Float is down sampled to Stereo Float.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8bf3a98ff57048d3a80ef4102cd97b578570c88
---
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
More information about the vlc-commits
mailing list