esp32-a2dp-sink
esp32-a2dp-sink copied to clipboard
LDAC & APTxHD not working with S/PDIF output
I modified a bit the main.cpp to enable spdif output. I have all needed submodules with specified branches and have been able to build the project.
When I connect BT to the ESP and play music it works well with SBC and AAC codecs.
But no luck with any other codecs. The output pin seems to have some kind of activity but faulty, I can see visually that the signal pattern is very different and probably bad. Also for example if I switch to LDAC then come back to AAC or SBC, music doesn't come back and the signal is still strange, I need to reset the ESP in this case.
If someone has an idea... ? Thank you
Edit: I'm using an ESP32-CAM (external PSRAM) for my tests.