notes/Bluetooth Audio on CHIP 9 Computer-UCfTUcuV.sh
#get Bluetooth audio Speakers working on CHIP $9 Computer
sudo apt install pulseaudio-module-bluetooth
#add the following 2 lines to /etc/bluetooth/audio.conf
[General]
Enable=Source,Sink,Socket
bluetoothctl
power on
scan on
pair <MAC Address> #to do the pairing (tab completion works).
#If using a device without a PIN, one may need to manually trust the device before it can reconnect successfully
trust <MAC Address>
connect <MAC_address>
#List all pulseaudio sinks (outputs)
pactl list|grep -e "^Sink" -e "Name" -e "application"|grep "^Sink" -A1
#change to sink 1 (or what ever sink is your bluetooth output)
pactl set-default-sink 1
#test
mplayer my.mp3