progressStream #2261
-
|
I2SStream i2s; player.begin(); void Audio::loop() Based on the code above, the actual situation is that the progress is completely incorrect? Originally posted by @niuteam in #913 (reply in thread) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Yes, the output for the AudioPlayer is decoded PCM data that you want to measure against the encoded mp3 data! So build your own output chain instead of the AudioPlayer or use the setCallbackOnWrite() from the AudioPlayer's StreamCopy |
Beta Was this translation helpful? Give feedback.
Yes, the output for the AudioPlayer is decoded PCM data that you want to measure against the encoded mp3 data!
So build your own output chain instead of the AudioPlayer or use the setCallbackOnWrite() from the AudioPlayer's StreamCopy