[pulseaudio-tickets] [PulseAudio] #839: Sink wrongly unloaded or not reloaded
PulseAudio
trac-noreply at tango.0pointer.de
Sat Jul 10 02:51:22 PDT 2010
#839: Sink wrongly unloaded or not reloaded
------------------------+---------------------------------------------------
Reporter: mcarans | Owner: lennart
Type: defect | Status: closed
Milestone: | Component: module-alsa-*
Resolution: elsewhere | Keywords:
------------------------+---------------------------------------------------
Changes (by tanuk):
* status: new => closed
* resolution: => elsewhere
* component: daemon => module-alsa-*
Comment:
Replying to [ticket:839 mcarans]:
> Is the sink being wrongly unloaded? Or is it correctly unloaded on
Rhythmbox exit but wrong that it is not then reloaded afterwards?
From pulseaudiooutput_rateconverter.txt:
{{{
D: alsa-sink.c: Requested to rewind 55296 bytes.
D: alsa-sink.c: Limited to 55248 bytes.
D: alsa-sink.c: before: 4604
E: alsa-sink.c: snd_pcm_rewind() failed: Unknown error 4604
D: alsa-sink.c: process_rewind: Unknown error 4604
E: alsa-sink.c: process_rewind: Unknown error 4604
}}}
That error causes the alsa sink to quit. To be clear, the first error (E:
alsa-sink.c: snd_pcm_rewind() failed: Unknown error 4604) is printed after
calling snd_pcm_rewind unsuccessfully. After that pulseaudio calls
try_recover, which repeats the error message in the beginning of the
function, so the second error is really from the same call. The third
error message is printed after trying to call snd_pcm_recover() inside
try_recover. It is only when that snd_pcm_recover() call fails that the
alsa sink gives up and quits - if snd_pcm_rewind() would fail, but
snd_pcm_recover() would succeed, the sink would keep on going.
The bug is probably in the rate converter alsa plugin. I guess I can
resolve this as "elsewhere".
--
Ticket URL: <http://pulseaudio.org/ticket/839#comment:3>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list