Merge branch 'bugfix/a2dp_sink_fluent' into 'master'

component/bt : enlarge the A2DP SINK FRAME QUEUE SIZE to make A2DP more fluent

See merge request idf/esp-idf!2492
This commit is contained in:
Jiang Jiang Jian 2018-06-01 18:34:20 +08:00
commit cd3ce46b8f
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ enum {
but due to link flow control or thread preemption in lower but due to link flow control or thread preemption in lower
layers we might need to temporarily buffer up data */ layers we might need to temporarily buffer up data */
/* 5 frames is equivalent to 6.89*5*2.9 ~= 100 ms @ 44.1 khz, 20 ms mediatick */ /* 18 frames is equivalent to 6.89*18*2.9 ~= 360 ms @ 44.1 khz, 20 ms mediatick */
#define MAX_OUTPUT_A2DP_SNK_FRAME_QUEUE_SZ (5) #define MAX_OUTPUT_A2DP_SNK_FRAME_QUEUE_SZ (18)
typedef struct { typedef struct {
UINT16 num_frames_to_be_processed; UINT16 num_frames_to_be_processed;