vlc | branch: master | Rémi Denis-Courmont <[email protected]> | 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)

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to