a2dp_sink.c (59e36844b738c111f59d1ee55f52d501c0bba708) | a2dp_sink.c (2bb3471f99e3b46b9fc9cc77b48863838e15ce57) |
---|---|
1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 313 unchanged lines hidden (view full) --- 322 break; 323 324 case AVDTP_SUBEVENT_SIGNALING_REJECT: 325 case AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT: 326 signal_identifier = avdtp_subevent_signaling_accept_get_signal_identifier(packet); 327 cid = avdtp_subevent_signaling_accept_get_avdtp_cid(packet); 328 loc_seid = avdtp_subevent_signaling_accept_get_local_seid(packet); 329 a2dp_emit_cmd_rejected(a2dp_sink_context.a2dp_callback, packet, size); | 1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 313 unchanged lines hidden (view full) --- 322 break; 323 324 case AVDTP_SUBEVENT_SIGNALING_REJECT: 325 case AVDTP_SUBEVENT_SIGNALING_GENERAL_REJECT: 326 signal_identifier = avdtp_subevent_signaling_accept_get_signal_identifier(packet); 327 cid = avdtp_subevent_signaling_accept_get_avdtp_cid(packet); 328 loc_seid = avdtp_subevent_signaling_accept_get_local_seid(packet); 329 a2dp_emit_cmd_rejected(a2dp_sink_context.a2dp_callback, packet, size); |
330 app_state = A2DP_IDLE; |
|
330 break; 331 case AVDTP_SUBEVENT_STREAMING_CONNECTION_RELEASED: 332 cid = avdtp_subevent_streaming_connection_released_get_avdtp_cid(packet); 333 loc_seid = avdtp_subevent_streaming_connection_released_get_local_seid(packet); 334 app_state = A2DP_IDLE; 335 a2dp_emit_stream_event(a2dp_sink_context.a2dp_callback, cid, A2DP_SUBEVENT_STREAM_RELEASED, loc_seid); 336 break; 337 case AVDTP_SUBEVENT_SIGNALING_CONNECTION_RELEASED: --- 12 unchanged lines hidden --- | 331 break; 332 case AVDTP_SUBEVENT_STREAMING_CONNECTION_RELEASED: 333 cid = avdtp_subevent_streaming_connection_released_get_avdtp_cid(packet); 334 loc_seid = avdtp_subevent_streaming_connection_released_get_local_seid(packet); 335 app_state = A2DP_IDLE; 336 a2dp_emit_stream_event(a2dp_sink_context.a2dp_callback, cid, A2DP_SUBEVENT_STREAM_RELEASED, loc_seid); 337 break; 338 case AVDTP_SUBEVENT_SIGNALING_CONNECTION_RELEASED: --- 12 unchanged lines hidden --- |