Thread
:
Help with Canola/general A2DP
View Single Post
Canadian144
2009-06-04 , 02:00
Posts: 31 | Thanked: 0 times | Joined on May 2009 @ Toronto, ON, Canada
#
3
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
__________________
Nokia N810 and Nokia N95 8GB - the perfect combination!
Quote & Reply
|
Canadian144
View Public Profile
Send a private message to Canadian144
Find all posts by Canadian144