I2S miss first 1 sec of played audio

aectaan
Posts: 1
Joined: Mon Dec 25, 2023 10:43 am

I2S miss first 1 sec of played audio

Postby aectaan » Mon Dec 25, 2023 10:50 am

In our project we play some short sounds (~300ms) for button pressing confirmation.
On IDF v5.1 everything was great, but due to some reasons we had been pushed to use IDFv4.4 and after adaptation of HAL we faced with the problem: First frames are not played (around 1 sec) so we're need to send zeroed buffers for one sec and after that our actual sound. It looks awkward and add delay to sound playing. Is there something to get into attention? The problem is the same for long audios - first data is just missed. Codec and amplifier are powered, initialised and works in stable conditions.

Who is online

Users browsing this forum: Google [Bot] and 110 guests