Flush off the buffers.
int32_t audio_dma_flush_buffer( struct audio_dma_descriptor *const desc, enum audio_dir dir )
This function flushes off the write or read buffers and disable the DMA channel.
Type: struct audio_dma_descriptor Struct *const
Pointer to audio driver descriptor
Type: enum audio_dir Enum
Identifies flush the read or write queue
Type: int32_t
The result of comparator n stop the operation.