Description of problem: Today I tried to play some audio streams using amarok. I figured out that they do not work at all when using pulseaudio. Here is the relevant portion of pulseaudio -v output: I: client.c: Created 11 "Native client (UNIX socket client)" I: protocol-native.c: Got credentials: uid=500 gid=500 success=1 I: protocol-native.c: Enabled SHM for new connection I: client.c: Client 11 changed name from "Native client (UNIX socket client)" to "amarokapp" I: module-volume-restore.c: Restoring volume for <pulsecore/protocol-native.c$amarokapp> I: module-volume-restore.c: Restoring sink for <pulsecore/protocol-native.c$amarokapp> I: resampler.c: Using resampler 'speex-float-0' I: resampler.c: Using float32le as working format. I: resampler.c: Choosing speex quality setting 0. I: sink-input.c: Created input 5 "audio stream" on alsa_output.pci_8086_27d8_alsa_playback_0 with sample spec s16le 2ch 44100Hz I: module-alsa-sink.c: Trying resume... I: module-alsa-sink.c: Resumed successfully... I: module-alsa-sink.c: Starting playback. I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_alsa_playback_0 idle for too long, suspending ... I: module-alsa-sink.c: Device suspended... I: module-alsa-sink.c: Trying resume... I: module-alsa-sink.c: Resumed successfully... I: module-alsa-sink.c: Starting playback. I: sink-input.c: Freeing output 5 "audio stream" I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_alsa_playback_0 idle for too long, suspending ... I: module-alsa-sink.c: Device suspended... My wild guess is that PA is not giving amarok enough time to buffer the stream and start playing it. Version-Release number of selected component (if applicable): xine-lib-extras-1.1.8-4.fc8.x86_64 pulseaudio-0.9.7-0.16.svn20071017.fc8.x86_64 How reproducible: always Steps to Reproduce: 1. start amarok 2. set it to use xine and pulseaudio 3. browse the streams list in the sidebar 4. try to play one Actual results: xine message about busy device and no sound Expected results: guess what ;) Additional info: You might need to press play several times, but this is unrelated.
For reference, totem using xine backend and pulseaudio output plugin seems to work fine, to this looks like an issue with amarok to me. Reassigning. Version-Release number of selected component (if applicable): amarok-1.4.7-7.fc8.x86_64
Any updates on this? Having to restart amarok a few times to get the stream playing is quite annoying to say at least.
That's what amarok shows when it fails: Sound output is unavailable. Device is busy. xine parameters:
This also happens when you press an arrow key few times to change position in song
This is more a xine-lib issue, re-assigning.
I wonder if patch in bug #439731 would be of help here. I can't tell though, given I don't use xine, nor amarok.
Almost certainly would help.
*** This bug has been marked as a duplicate of 439731 ***