As we all know Debian 12 switched to pipewire as audio backend, and the crew haven't decided to move fdk-aac out of non-free
repo.
So by default install, there is no AAC codec for bluetooth, but it can be manually build from source.
Then there is the aac codec plugin, install steps:
- Make sure you are using PipeWire audio backend in
raspi-config
- Install libfdk-aac2:
sudo apt install libfdk-aac2
- Download the
libspa-codec-bluez5-aac.so
- Move it into
/usr/lib/aarch64-linux-gnu/spa-0.2/bluez5
- Reboot
- Connect your Apple AirPods (any)
- Enjoy
This so is built in libspa-0.2-bluetooth_0.3.65-3
and Debian 12 (bookworm)