[pulseaudio-tickets] [PulseAudio] #495: Output to an RAOP sink skips
PulseAudio
trac-noreply at tango.0pointer.de
Sat Dec 4 13:39:05 PST 2010
#495: Output to an RAOP sink skips
-----------------------+----------------------------------------------------
Reporter: clconway | Owner: coling
Type: defect | Status: new
Milestone: | Component: module-raop-*
Resolution: | Keywords: module-raop-sink skip
-----------------------+----------------------------------------------------
Changes (by fdemmer):
* cc: fdemmer (added)
* type: enhancement => defect
Comment:
Ah! The "Not Enough Bandwidth" is the reply in case the AEX is already in
use. A sink is still created in that case, but it does not work. Maybe it
would be a good idea to not create a sink after that reply...?
As previously reported I had everything working with mpd+pulseaudio
+module-raop (fixed config, not autodetection, as it seems broken with AEX
7.4.2). That was on my desktop PC... then I tried the same on my
fileserver, which is supposed to become my musicserver. Same Ubuntu, same
pulseaudio, same mpd, but... skips as described by others in this ticket
and those logs:
{{{
D: [pulsecore/protocol-native.c:1322 handle_seek()] Requesting rewind due
to end of underrun.
D: [pulsecore/protocol-native.c:1322 handle_seek()] Requesting rewind due
to end of underrun.
D: [pulsecore/protocol-native.c:1517 sink_input_pop_cb()] Underrun on
'default pulse', 0 bytes in queue.
D: [pulsecore/protocol-native.c:1322 handle_seek()] Requesting rewind due
to end of underrun.
D: [pulsecore/protocol-native.c:1322 handle_seek()] Requesting rewind due
to end of underrun.
D: [pulsecore/protocol-native.c:1517 sink_input_pop_cb()] Underrun on
'default pulse', 0 bytes in queue.
}}}
I tried playing with fragments and size, made sure pa is using high prio
and realtime scheduling, checked network speed; nothing helped.
I tried upgrading from Lucid default mpd 0.15.4 to 0.15.15 from a ppa, but
that changed nothing.
To further exclude mpd as a cause of the problems, I configured the mpd on
the fileserver to use the pulseaudio on my desktop (which in turn uses the
AEX)... and that worked perfectly!
So... not working:
{{{[fileserver+mpd+pulse-output-plugin+pulseaudio+raop] --> [AEX]}}}
working:
{{{[fileserver+mpd+pulse-output-plugin] --> [desktop+pulseaudio+raop] -->
[AEX]}}}
btw, also working without problems: the ruby raop module using this simple
stdin-->AEX script:
http://raop.rubyforge.org/svn/trunk/examples/read_stdin.rb
sinks look the same on both desktop and server:
{{{
1 sink(s) available.
* index: 1
name: <raop>
driver: <module-raop-sink.c>
flags: NETWORK HW_VOLUME_CTRL LATENCY
state: IDLE
suspend cause:
priority: 0
volume: 0: 100% 1: 100%
balance 0.00
base volume: 100%
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 8 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 250.00 ms
module: 16
properties:
device.string = "192.168.10.4"
device.intended_roles = "music"
device.description = "RAOP sink '192.168.10.4'"
device.icon_name = "audio-card"
}}}
...i am completely out of ideas what could be wrong... anyone?
--
Ticket URL: <http://pulseaudio.org/ticket/495#comment:26>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list