cancel
Showing results for 
Search instead for 
Did you mean: 

I have a mono channel to play audio files and can't play stereo files since it allocates more memory. Seems like audio quality of mono file isn't good because I lose a certain part of data.

Liandri
Associate II

According to I2S example of STM32373C-EVAL SDK :

"Mono audio streaming is not supported (in order to play mono audio streams, each data should be sent twice on the I2S or should be duplicated on the source buffer. Or convert the stream in stereo before playing)."

I would like to send each data twice as it says. And I don't want to dublicate my buffer. Since the example uses HAL_I2S_Transmit_DMA() function, should I modify that function ? If so, how can I do it ?

Regards

0 REPLIES 0