[vlc-commits] ALSA: disable automatic softvol, not currently useful
Rémi Denis-Courmont
git at videolan.org
Wed Apr 13 19:36:05 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 13 19:39:50 2011 +0300| [be30443bb7ac6a487ebe20132472a22a82022ad4] | committer: Rémi Denis-Courmont
ALSA: disable automatic softvol, not currently useful
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be30443bb7ac6a487ebe20132472a22a82022ad4
---
modules/audio_output/alsa.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index 548d8c8..4bd5b94 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -121,7 +121,9 @@ vlc_module_end ()
/* VLC will insert a resampling filter in any case, so it is best to turn off
* ALSA (plug) resampling. */
-static const int mode = SND_PCM_NO_AUTO_RESAMPLE;
+static const int mode = SND_PCM_NO_AUTO_RESAMPLE
+/* VLC is currently unable to leverage ALSA softvol. Disable it. */
+ | SND_PCM_NO_SOFTVOL;
/*****************************************************************************
* Probe: probe the audio device for available formats and channels
More information about the vlc-commits
mailing list