i2s_channel_write : Problem at the end of the file played !

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

i2s_channel_write : Problem at the end of the file played !

Postby ThomasESP32 » Wed Feb 15, 2023 6:23 pm

Good afternoon,

I would like to play a WAV file that is included in my program.
For that, I use the function i2s_channel_write in order to send it via I2s to an audio amplifier.
However, at the end of the file, I can hear a stange audio artifact that is not in my file.

As somebody already hearded it using the i2s_channel_write function ?

My problem is that if it is due to the function, when I will try to decode an mp3 file by chuncks,
for each decoded part, I will send it using the same function.
I do not want strange artifact during all of the mp3 file played.

Could you help me please ?

BR,

Thomas TRUILHE

Who is online

Users browsing this forum: No registered users and 60 guests