[vlc-commits] audiotrack: put back vlc resampler

Thomas Guillem git at videolan.org
Mon May 4 16:42:43 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon May  4 16:25:26 2015 +0200| [d95c61247eb9b1102cb5fa13361b87390095d839] | committer: Thomas Guillem

audiotrack: put back vlc resampler

Some devices fail to resample uncommon rates (like 22050Hz).

Fixes #14514

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d95c61247eb9b1102cb5fa13361b87390095d839
---

 modules/audio_output/audiotrack.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index fb3e517..55c975f 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -110,7 +110,7 @@ struct aout_sys_t {
 
 /* Get AudioTrack native sample rate: if activated, most of  the resampling
  * will be done by VLC */
-//#define AUDIOTRACK_NATIVE_SAMPLERATE
+#define AUDIOTRACK_NATIVE_SAMPLERATE
 
 #define AUDIO_CHAN_TEXT N_("Audio output channels")
 #define AUDIO_CHAN_LONGTEXT N_("Channels available for audio output. " \



More information about the vlc-commits mailing list