Forum

Full Version: A2DP audio sink
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

i am running a fresh image of xbian 1.0Alpha5 on my Raspberry Pi. With A2DP I want to stream music from my mobile phone to the raspberry.

I found this tutorial for this:

http://kmonkey711.blogspot.de/2012/12/a2dp-audio-on-raspberry-pi.html


My problem is that I get this output:

Quote:xbian@xbian ~ $ pactl list sources short
0 auto_null.monitor module-null-sink.c s16le 2ch 44100Hz SUSPENDED

There is no device like alsa_output.platform-bcm2835_AUD0.0.analog-stereo.monitor, so I am not able to get a2dp working.

Could you kindly help me?
What is the output of:
Code:
lsmod
With lsmod I get this output:

Quote:xbian@xbian ~ $ lsmod
Module Size Used by
bnep 10660 2
rfcomm 33060 10
nfsd 259835 2
bcm2708_wdog 3530 1
snd_bcm2835 13087 0
snd_pcm 77296 1 snd_bcm2835
snd_page_alloc 5196 1 snd_pcm
snd_seq 53197 0
snd_seq_device 6430 1 snd_seq
snd_timer 19974 2 snd_pcm,snd_seq
snd 58448 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
evdev 9489 0
btusb 11483 0
bluetooth 192829 24 bnep,btusb,rfcomm
You need to install Alsa to get support for your wishes.
It was a problem with the permissions!!

You have to do this:

Quote:sudo usermod -a -G lp xbian
sudo usermod -a -G audio xbian

Now another question.

Is it possible to stream bluetooth audio ALWAYS to the headphone output? Also if XBMC is connected via hdmi?
Reference URL's