10-04-2024, 06:06 PM
There is no manual configuration involved. When the output option in Bluetooth Control is set to "Bluetooth speaker" it configures the _audioout.conf ALSA device which is used by MPD and the renderers to route PCM data to the ALSA device named "bitstream" which is the Bluetooth connection.
Code:
pi@moode9:~ $ cat /etc/alsa/conf.d/_audioout.conf
#########################################
# This file is managed by moOde
#########################################
pcm._audioout {
type copy
slave.pcm "btstream"
}
pi@moode9:~ $ cat /etc/alsa/conf.d/btstream.conf
#########################################
# This file is managed by moOde
#########################################
pcm.btstream {
type plug
slave.pcm {
type bluealsa
device "A4:77:58:09:EE:C8"
profile "a2dp"
}
}