Change-Id: Iee232dacd3b79e6e94d26c73fb3e563fddced75c
break;
}
+ if (alarm_is_scheduled(btif_media_cb.media_alarm))
+ {
+ APPL_TRACE_WARNING("%s Unexpected HAL start."
+ "Stream already in started state", __func__);
+ a2dp_cmd_acknowledge(A2DP_CTRL_ACK_FAILURE);
+ break;
+ }
+
if (btif_av_stream_ready() == TRUE)
{
/* setup audio data channel listener */
NULL);
thread_post(worker_thread, btif_media_thread_init, NULL);
-
APPL_TRACE_EVENT("## A2DP MEDIA THREAD STARTED ##");
return true;