View Single Post
sachin007's Avatar
Posts: 2,041 | Thanked: 1,066 times | Joined on Mar 2006 @ Houston
#4
Originally Posted by Canadian144 View Post
Alright, I downloaded Kagu.... but I haven't had a chance to install it yet.

Are these the proper instructions for using Kagu and A2DP? Do I have to do all of this?

kagu can use mplayer to play. mplayer works correct with a2dp.
1.Edit /etc/bluetooth/audio.conf
...
#Disable=Sink
....
[A2DP]
SourceCount=2
SBCSources=1
MPEG12Sources=0

2. Install 4 scripts:
a2dp
switchOnBT.sh
speedup
speeddown

3. create device using python script (http://wiki.bluez.org/wiki/HOWTO/AudioDevices)

import dbus
bus = dbus.SystemBus()
manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager')
bus_id = manager.ActivateService('audio')
audio = dbus.Interface(bus.get_object(bus_id, '/org/bluez/audio'), 'org.bluez.audio.Manager')

path = audio.CreateDevice('00:11:22:33:44:55')
#audio.ChangeDefaultDevice(path) #change the device to be used by default
sink = dbus.Interface (bus.get_object(bus_id, path), 'org.bluez.audio.Sink')
sink.Connect()

4. start under user
a2dp firstrun

5. set kagu player - mplayer
Well its been quite a while but as far as i remember the instructions where;

1 install a2dp-support
2 pair headset.
3. Write down bluetooth address of headset
4. a2dp first run in xterm and enter the bluetooth address
5. then a2dp enable in xterm
6. run kaju- settings- player -mplayer
7. play.

But these are right off the head... u may want to check the a2dp thread.Those instructions u gave are very old.

And remember switch off the bluetooth on ur phone. I it doesnt worj the first time... follow the cycle again.

Hope it helps. Sorry i cant re read the thread because i have exams.
 

The Following User Says Thank You to sachin007 For This Useful Post: