(10-24-2020, 07:22 PM)Tim Curtis Wrote: You could try editing the following config file to set a different rate and bit depth and then turn on Bluetooth speaker sharing in Audio Config. This will cause bluez-alsa to use btaplay_dmix device defined in the .conf file instead of defaulting to the plughw device.
/etc/alsa/conf.d/20-bluealsa-dmix.conf
I don't know what ALSA uses by default for resampling but it's prolly not going to be great quality like SoX.
Thanks for the hint, I tried it many times also in slightly different ways but it doesn't work.
Can I change the standard plughw device?
This is my code in the dmix.conf:
Code:
pcm.btaplay_dmix {
type plug
slave.pcm "plug_btaplay_dmix"
}
pcm.plug_btaplay_dmix {
type dmix
ipc_key 321456
slave {
pcm {
type hw
card 0
device 0
}
format "S24_LE"
rate 48000
}
}
Greetings