/* Calculates the remaining file size and new position of the pointer.  */
void BSP_AUDIO_OUT_TransferComplete_CallBack(void)
/* Calculates the remaining file size and new position of the pointer.  */
void BSP_AUDIO_OUT_TransferComplete_CallBack(void)
{
  if(audio_state == AUDIO_STATE_PLAY)
  {
    buffer_ctl.offset = BUFFER_OFFSET_FULL;
    BSP_AUDIO_OUT_ChangeBuffer((uint16_t*)&buffer_ctl.buff[0], AUDIO_BUFFER_SIZE /2);
  }
}