Samsung / TizenRT

TizenRT is a lightweight RTOS-based platform to support low-end IoT devices
Apache License 2.0
566 stars 571 forks source link

os/arch/arm/src/amebasmart: I2S driver sampling fix #6292

Closed kaikaikaime closed 2 months ago

kaikaikaime commented 2 months ago

*Wordlength correction has been added

ziyik commented 2 months ago

Could you check amebasmart_i2s_initialize()? priv->i2s_object is not free in the error case, this will cause memory lack.

kaikaikaime commented 2 months ago

Dear Abhishek,

The current push e5cd4a, does not do deinit in other to set a new sampling rate. Instead, could you check the wordlength is working according to your needs? Especially the audio sound is correct from 48k and 16k sampling rate.