kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/a2dp_media_pkt_drop' into 'master'
component/bt: bugfix for A2DP in dropping of media packet when buffer is filled See merge request !785pull/348/merge
commit
9634f1815d
|
@ -901,6 +901,7 @@ UINT8 btc_media_sink_enque_buf(BT_HDR *p_pkt)
|
||||||
|
|
||||||
if (GKI_queue_length(&btc_media_cb.RxSbcQ) >= MAX_OUTPUT_A2DP_FRAME_QUEUE_SZ) {
|
if (GKI_queue_length(&btc_media_cb.RxSbcQ) >= MAX_OUTPUT_A2DP_FRAME_QUEUE_SZ) {
|
||||||
APPL_TRACE_WARNING("Pkt dropped\n");
|
APPL_TRACE_WARNING("Pkt dropped\n");
|
||||||
|
return GKI_queue_length(&btc_media_cb.RxSbcQ);
|
||||||
}
|
}
|
||||||
|
|
||||||
APPL_TRACE_DEBUG("btc_media_sink_enque_buf + ");
|
APPL_TRACE_DEBUG("btc_media_sink_enque_buf + ");
|
||||||
|
|
Ładowanie…
Reference in New Issue