mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +00:00
a2dp: emit A2DP_SUBEVENT_START_STREAM_REQUESTED if enabled (regression from 1.5.2)
This commit is contained in:
parent
bf0839a851
commit
f2098d2205
@ -836,6 +836,12 @@ void a2dp_config_process_avdtp_event_handler(avdtp_role_t role, uint8_t *packet,
|
|||||||
a2dp_emit_stream_event_for_role(role, cid, avdtp_stream_endpoint_seid(config_process->local_stream_endpoint),
|
a2dp_emit_stream_event_for_role(role, cid, avdtp_stream_endpoint_seid(config_process->local_stream_endpoint),
|
||||||
A2DP_SUBEVENT_STREAM_STOPPED);
|
A2DP_SUBEVENT_STREAM_STOPPED);
|
||||||
break;
|
break;
|
||||||
|
#ifdef ENABLE_AVDTP_ACCEPTOR_EXPLICIT_START_STREAM_CONFIRMATION
|
||||||
|
case AVDTP_SI_ACCEPT_START:
|
||||||
|
a2dp_emit_stream_event_for_role(role, cid, avdtp_stream_endpoint_seid(config_process->local_stream_endpoint),
|
||||||
|
A2DP_SUBEVENT_START_STREAM_REQUESTED);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user