mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
component/bt: bugfix for A2DP in dropping of media packet when data buffer size goes beyond threshold
This commit is contained in:
parent
ba55461686
commit
cdea87168c
@ -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 + ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user