[pulseaudio-discuss] [RFC] (alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed (-77) proposed fix to check pcm state
Raymond Yau
superquad.vortex2 at gmail.com
Wed Nov 26 00:54:53 PST 2014
For those creative sound cards (e.g. emu10k1, ca0106) which use multi
plugin for surround playback
It seem that set start_threshold to -1 has no effect on some devices (e.g.
multi plugin) , the device seem automatically started and pulseaudio does
not check pcm state when calling snd_pcm_start
(alsa-lib)pcm_hw.c: SNDRV_PCM_IOCTL_START failed (-77)
Does it mean bug of multi plugin or start_threshold.have no effect on some
devices/plugin ?
( 0.106| 0.000) I: [alsa-sink-emu10k1] alsa-sink.c: Starting playback.
( 0.106| 0.000) I: [alsa-sink-emu10k1] (alsa-lib)pcm_hw.c:
SNDRV_PCM_IOCTL_START failed (-77)
Possible fix is check pcm state before calling snd_pcm_start and only warn
about sink is already running
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141126/6b92be15/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcm_start.patch
Type: text/x-patch
Size: 862 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141126/6b92be15/attachment.bin>
More information about the pulseaudio-discuss
mailing list