Forum
[PROBLEM] A2DP audio sink - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: [PROBLEM] A2DP audio sink (/thread-495.html)



A2DP audio sink - Unimatrix - 22nd Feb, 2013 05:20 AM

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?


RE: A2DP audio sink - CurlyMo - 22nd Feb, 2013 05:23 AM

What is the output of:
Code:
lsmod



RE: A2DP audio sink - Unimatrix - 22nd Feb, 2013 05:25 AM

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



RE: A2DP audio sink - CurlyMo - 22nd Feb, 2013 05:28 AM

You need to install Alsa to get support for your wishes.


RE: A2DP audio sink - Unimatrix - 22nd Feb, 2013 05:31 AM

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?