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

ALSA: do not turn off softvol

Some people actually use it.
(cherry picked from commit 20ee3d9d6e7586f778905cb048872dd5c5ae8ce3)
parent 5cf7a039
......@@ -320,9 +320,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)
......
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