mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
a2dp_source: skip stream endpoints that are reported as 'in use' during configuration
This commit is contained in:
parent
cd0bbc03f2
commit
ca0e2e7e9f
@ -352,7 +352,7 @@ static void a2dp_source_packet_handler_internal(uint8_t packet_type, uint16_t ch
|
||||
log_info("A2DP Found sep: remote seid 0x%02x, in_use %d, media type %d, sep type %s, index %d",
|
||||
sep.seid, sep.in_use, sep.media_type, sep.type == AVDTP_SOURCE ? "source" : "sink",
|
||||
num_remote_seps);
|
||||
if (sep.type == AVDTP_SINK) {
|
||||
if ((sep.type == AVDTP_SINK) && (sep.in_use == false)) {
|
||||
remote_seps[num_remote_seps++] = sep;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user