Use AudioTools as Output Library #536
-
Espressif is retiring the legacy I2S API: So with Arduino 3.0.0 my old I2S integration will not be available any more. In order to support a unique output API which is version independent, it is recommended to install and use the AudioTools library. The library, documentation and examples have been updated. To prevent issues in the new ESP32 release, I suggest that you start to use the new functionality. Further information can be found here This discussion was created from the release Use AudioTools as Output Library. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Hi!
When compiling the code, the IDE (1.8.19) reported an error in the last line I showed above: |
Beta Was this translation helpful? Give feedback.
-
It seems that the sequence is important! use: Currently AudioTools is optional so it needs to be imported first to be recognised by the Bluetooth API |
Beta Was this translation helpful? Give feedback.
-
Hello, i use high quality 32bit sound with your subclass BluetoothA2DPSink32.h and BluetoothA2DPSink32.cpp. |
Beta Was this translation helpful? Give feedback.
Can you try a simple test sketch ?
As I have written above, I would recommend to use the A2DP library only as data source so that you just use Audio for doing the output. Just register a data callback and write the data to audio in the callback
If you activate the logger, do you get any Error messages ?