/* Stops audio stream playing on the used Media.  */
static void Audio_MAL_Stop(void)
/* Stops audio stream playing on the used Media.  */
static void Audio_MAL_Stop(void)
{
  DMA_Cmd(AUDIO_MAL_DMA_STREAM, DISABLE);
  DMA_ClearFlag(AUDIO_MAL_DMA_STREAM, AUDIO_MAL_DMA_FLAG_TC |AUDIO_MAL_DMA_FLAG_HT | \
                                  AUDIO_MAL_DMA_FLAG_FE | AUDIO_MAL_DMA_FLAG_TE);
  I2S_Cmd(CODEC_I2S, DISABLE);
}