mirror of
https://github.com/espressif/esp-idf
synced 2025-03-23 07:59:11 -04:00
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
33 lines
922 B
C
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;
|
|
}
|