Skip to main content
Liandri
Associate II
January 3, 2021
Question

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.

  • January 3, 2021
  • 0 replies
  • 512 views

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

This topic has been closed for replies.