Commit 20ee3d9d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ALSA: do not turn off softvol

Some people actually use it.
parent d17ed613
...@@ -322,9 +322,7 @@ static int Open (vlc_object_t *obj) ...@@ -322,9 +322,7 @@ static int Open (vlc_object_t *obj)
/* Open the device */ /* Open the device */
snd_pcm_t *pcm; snd_pcm_t *pcm;
/* VLC always has a resampler. No need for ALSA's. */ /* VLC always has a resampler. No need for ALSA's. */
const int mode = SND_PCM_NO_AUTO_RESAMPLE const int mode = SND_PCM_NO_AUTO_RESAMPLE;
/* VLC is currently unable to leverage ALSA softvol. No need for it. */
| SND_PCM_NO_SOFTVOL;
int val = snd_pcm_open (&pcm, device, SND_PCM_STREAM_PLAYBACK, mode); int val = snd_pcm_open (&pcm, device, SND_PCM_STREAM_PLAYBACK, mode);
#if (SND_LIB_VERSION <= 0x010015) #if (SND_LIB_VERSION <= 0x010015)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment