[vlc-commits] ALSA: do not turn off softvol
    Rémi Denis-Courmont 
    git at videolan.org
       
    Tue Mar  6 17:11:15 CET 2012
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar  6 18:10:30 2012 +0200| [20ee3d9d6e7586f778905cb048872dd5c5ae8ce3] | committer: Rémi Denis-Courmont
ALSA: do not turn off softvol
Some people actually use it.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20ee3d9d6e7586f778905cb048872dd5c5ae8ce3
---
 modules/audio_output/alsa.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index 8b7d0c4..7ecdd8c 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -322,9 +322,7 @@ static int Open (vlc_object_t *obj)
     /* Open the device */
     snd_pcm_t *pcm;
     /* VLC always has a resampler. No need for ALSA's. */
-    const int mode = SND_PCM_NO_AUTO_RESAMPLE
-    /* VLC is currently unable to leverage ALSA softvol. No need for it. */
-                   | SND_PCM_NO_SOFTVOL;
+    const int mode = SND_PCM_NO_AUTO_RESAMPLE;
 
     int val = snd_pcm_open (&pcm, device, SND_PCM_STREAM_PLAYBACK, mode);
 #if (SND_LIB_VERSION <= 0x010015)
    
    
More information about the vlc-commits
mailing list