Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Bluetooth Sample Rate
#5
(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
Reply


Messages In This Thread
Bluetooth Sample Rate - by Paddy_B - 10-24-2020, 04:08 PM
RE: Bluetooth Sample Rate - by Tim Curtis - 10-24-2020, 05:24 PM
RE: Bluetooth Sample Rate - by Paddy_B - 10-24-2020, 05:29 PM
RE: Bluetooth Sample Rate - by Tim Curtis - 10-24-2020, 07:22 PM
RE: Bluetooth Sample Rate - by Paddy_B - 10-28-2020, 05:54 PM

Forum Jump: