2020-05-13 05:11 AM
I wonder what is a best way to play a file in small chunks? Is there is a standart way of doing it or you should make a timer that expires just before the previous data is played and then call BSP_AUDIO_OUT_Play() again?
2020-05-15 02:29 AM
Here si the answer to the question. Taken form the example application comment
"Start playing the file from a circular buffer, once the DMA is enabled, it is
always in running state. Application has to fill the buffer with the audio data
using Transfer complete and/or half transfer complete interrupts callbacks
(AUDIO_TransferComplete_CallBack() or AUDIO_HalfTransfer_CallBack()..."