cancel
Showing results for 
Search instead for 
Did you mean: 

BSP_AUDIO_OUT_Play

ALevc.1
Associate III

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?

1 REPLY 1
ALevc.1
Associate III

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()..."