https://wiki.debian.org/BluetoothUser/a2dp
If using pipewire install the following:
sudo apt-get install sbc-tools libsbc1 libspa-0.2-bluetooth libspa-0.2-modules
Don't forget to remove pulseaudio-module-bluetooth before installing pipewire
For more supported codecs (A2DP) (in case of using pulseaudio, but better switch pipewire):