Differences between revisions 2 and 3
Revision 2 as of 2010-08-05 07:51:09
Size: 495
Comment:
Revision 3 as of 2010-08-05 07:52:18
Size: 494
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Bluetooth/Alsa =  = Bluetooth/Alsa =

Bluetooth/Alsa

1. install packages

# apt-get install bluez-utils bluez-gnome bluez-alsa

2. setup ~/.asoundrc file

$ sudo hcitool scan
Scanning ...
        XX:XX:XX:XX:XX:XX       Stereo Headset

cat ~/.asoundrc
pcm.bluetooth {
        type bluetooth
        device "XX:XX:XX:XX:XX:XX"
        profile "auto"
}

3. connect bluetooth sound device (ex, Bluetoooth Headphone)

4. Let's play!

mplayer -ao alsa:device=bluetooth /tmp/hoge.mp3