Unable to play opus(ogg) in littlefs #2110
-
Hello, All #define I2S_BCLK 16 using namespace audio_tools; I2SStream i2sOut; void setup() { auto config = i2sOut.defaultConfig(TX_MODE); decStream.begin(); File file = LittleFS.open("/1.opus", "r"); uint8_t buf[512]; void loop() {} Here is the usart print: please help me, THANKS |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Please read the error message: you are setting up the decoder with 44100 which is the default ocnfiguration! |
Beta Was this translation helpful? Give feedback.
Please read the error message: you are setting up the decoder with 44100 which is the default ocnfiguration!
Provide a proper config when calling decStream.begin();