try to bypass alsa softvol, since it is broken when used with snd_pcm_rewind()

This commit is contained in:
Lennart Poettering 2008-07-16 11:12:07 +02:00
parent 1568fcc979
commit ff3f43525d

View file

@ -574,7 +574,8 @@ snd_pcm_t *pa_alsa_open_by_device_id(
SND_PCM_NONBLOCK| SND_PCM_NONBLOCK|
SND_PCM_NO_AUTO_RESAMPLE| SND_PCM_NO_AUTO_RESAMPLE|
SND_PCM_NO_AUTO_CHANNELS| SND_PCM_NO_AUTO_CHANNELS|
SND_PCM_NO_AUTO_FORMAT)) < 0) { SND_PCM_NO_AUTO_FORMAT |
SND_PCM_NO_SOFTVOL)) < 0) {
pa_log_info("Couldn't open PCM device %s: %s", d, snd_strerror(err)); pa_log_info("Couldn't open PCM device %s: %s", d, snd_strerror(err));
pa_xfree(d); pa_xfree(d);
continue; continue;