You are not logged in.
Pages: 1
I'm trying to use PulseAudio and Avahi to stream music to my Raspberry. I've set it up like in the wiki (https://wiki.archlinux.org/index.php/Pu … er_network), and my Raspberry publishes the service like intended (I can see the PulseAudio Server and Sink). Playing music on the Raspberry with cmus also works, as did a direct connection by setting the default server in my laptops client.conf to the Raspberry,but when I try to play anything over the network (Edit: using the avahi-module), it doesn't work (mpd crashes, mplayer tells me "Audio device got stuck").
When I run pacmd list-sink-inputs (while not playing anything), it tells me:
1 sink input(s) available.
index: 0
driver: <protocol-native.c>
flags: DONT_MOVE
state: CORKED
sink: 0 <alsa_output.0.analog-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
...When I'm trying to play something over the network(Edit: using the avahi-module), the state changes to DRAINED.
When I'm playing music on my Raspberry, I get a second sink-input:
driver: <protocol-native.c>
flags:
state: RUNNING
sink: 0 <alsa_output.0.analog-stereo>
volume: front-left: 51118 / 78% / -6.47 dB, front-right: 51118 / 78% / -6.47 dB
balance 0.00
muted: no
...Does anyone know how to solve this? Or how to get rid of the DONT_MOVE-flag?
Edit:
I can also see the sink (and switch to it) with pacmd on my laptop:
* index: 1
name: <tunnel.alarmpi.local.alsa_output.0.analog-stereo>
driver: <module-tunnel.c>
flags: NETWORK HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY
state: RUNNING
...Last edited by sam1234 (2015-03-26 21:57:05)
Offline
Do you have the zeroconf modules loaded for avahi?
And does your pulseaudio server show up when you use the avahi browser?
Last edited by Knute (2015-03-26 21:15:59)
Knute
Offline
Yes & yes.
I added
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.2.0/24 auth-anonymous=true
load-module module-zeroconf-publishto my default.pa on the Raspberry, and the same but with module-zeroconf-discover on my laptop.
Here's the output of pacmd list-modules:
index: 9
name: <module-native-protocol-tcp>
argument: <auth-ip-acl=127.0.0.1;192.168.2.0/24 auth-anonymous=true>
used: -1
load once: no
...
index: 10
name: <module-zeroconf-publish>
argument: <>
used: -1
load once: yes
...Last edited by sam1234 (2015-03-26 22:42:26)
Offline
Pages: 1