OVMS3-idf/components/bt/bluedroid/utils/bt_utils.c
wangmengyang 30198ee8c1 component/bt: add new example for A2DP
1. add new example for A2DP and the related btif layer source code is ported
2. modification on osi_alarm_new API to support periodic timer
3. enable macro BTA_AR_INCLUDED, BTA_AV_INCLUDED, BTA_AV_SINK_INCLUDED
4. The A2DP example cannot work and can only be built successfuly
2016-11-04 15:08:30 +08:00

33 lines
922 B
C

#include "bt_utils.h"
/*****************************************************************************
**
** Function raise_priority_a2dp
**
** Description Raise task priority for A2DP streaming
**
** Returns void
**
*******************************************************************************/
void raise_priority_a2dp(tHIGH_PRIORITY_TASK high_task)
{
return;
}
/*****************************************************************************
**
** Function adjust_priority_a2dp
**
** Description increase the a2dp consumer task priority temporarily when start
** audio playing, to avoid overflow the audio packet queue, restore
** the a2dp consumer task priority when stop audio playing.
**
** Returns void
**
*******************************************************************************/
void adjust_priority_a2dp(int start)
{
return;
}