/btstack/src/classic/ |
H A D | avdtp.h | 649 } avdtp_stream_endpoint_t; typedef 660 avdtp_stream_endpoint_t * avdtp_get_stream_endpoint_for_seid(uint16_t seid); 661 avdtp_stream_endpoint_t * avdtp_get_source_stream_endpoint_for_media_codec(avdtp_media_codec_type_t… 662 avdtp_stream_endpoint_t * avdtp_get_source_stream_endpoint_for_media_codec_other(uint32_t vendor_id… 663 avdtp_stream_endpoint_t * avdtp_get_source_stream_endpoint_for_media_codec_and_type(avdtp_media_cod… 665 btstack_packet_handler_t avdtp_packet_handler_for_stream_endpoint(const avdtp_stream_endpoint_t *st… 669 void avdtp_register_media_transport_category(avdtp_stream_endpoint_t * stream_endpoint); 670 void avdtp_register_reporting_category(avdtp_stream_endpoint_t * stream_endpoint); 671 void avdtp_register_delay_reporting_category(avdtp_stream_endpoint_t * stream_endpoint); 672 void avdtp_register_recovery_category(avdtp_stream_endpoint_t * stream_endpoint, uint8_t maximum_re… [all …]
|
H A D | avdtp.c | 63 static uint8_t (*avdtp_sink_media_config_validator)(const avdtp_stream_endpoint_t * stream_endpoint… 64 static uint8_t (*avdtp_source_media_config_validator)(const avdtp_stream_endpoint_t * stream_endpoi… 88 avdtp_packet_handler_for_stream_endpoint(const avdtp_stream_endpoint_t *stream_endpoint) { in avdtp_packet_handler_for_stream_endpoint() 138 avdtp_stream_endpoint_t * avdtp_get_stream_endpoint_for_seid(uint16_t seid){ in avdtp_get_stream_endpoint_for_seid() 142 …avdtp_stream_endpoint_t * stream_endpoint = (avdtp_stream_endpoint_t *)btstack_linked_list_iterato… in avdtp_get_stream_endpoint_for_seid() 150 avdtp_stream_endpoint_t * avdtp_get_source_stream_endpoint_for_media_codec_and_type(avdtp_media_cod… in avdtp_get_source_stream_endpoint_for_media_codec_and_type() 154 …avdtp_stream_endpoint_t * stream_endpoint = (avdtp_stream_endpoint_t *)btstack_linked_list_iterato… in avdtp_get_source_stream_endpoint_for_media_codec_and_type() 164 avdtp_stream_endpoint_t * avdtp_get_source_stream_endpoint_for_media_codec(avdtp_media_codec_type_t… in avdtp_get_source_stream_endpoint_for_media_codec() 169 avdtp_stream_endpoint_t * avdtp_get_source_stream_endpoint_for_media_codec_other(uint32_t vendor_id… in avdtp_get_source_stream_endpoint_for_media_codec_other() 173 …avdtp_stream_endpoint_t * stream_endpoint = (avdtp_stream_endpoint_t *)btstack_linked_list_iterato… in avdtp_get_source_stream_endpoint_for_media_codec_other() [all …]
|
H A D | avdtp_source.c | 58 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_media_transport_category() 63 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_reporting_category() 68 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_delay_reporting_category() 73 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_recovery_category() 78 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_content_protection_category() 83 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_header_compression_category() 88 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_media_codec_category() 93 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_source_register_multiplexing_category() 97 avdtp_stream_endpoint_t * avdtp_source_create_stream_endpoint(avdtp_sep_type_t sep_type, avdtp_medi… in avdtp_source_create_stream_endpoint() 101 void avdtp_source_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){ in avdtp_source_finalize_stream_endpoint() [all …]
|
H A D | avdtp_sink.c | 56 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_media_transport_category() 61 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_reporting_category() 66 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_delay_reporting_category() 71 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_recovery_category() 76 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_content_protection_category() 81 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_header_compression_category() 86 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_media_codec_category() 91 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(seid); in avdtp_sink_register_multiplexing_category() 110 avdtp_stream_endpoint_t * avdtp_sink_create_stream_endpoint(avdtp_sep_type_t sep_type, avdtp_media_… in avdtp_sink_create_stream_endpoint() 114 void avdtp_sink_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){ in avdtp_sink_finalize_stream_endpoint() [all …]
|
H A D | avdtp_util.h | 91 void avdtp_signaling_emit_accept_for_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint, uin… 105 avdtp_signaling_emit_configuration(avdtp_stream_endpoint_t *stream_endpoint, uint16_t avdtp_cid, ui… 108 …up_media_codec_config_event(uint8_t *event, uint16_t size, const avdtp_stream_endpoint_t *stream_e… 112 void avdtp_streaming_emit_connection_established(avdtp_stream_endpoint_t *stream_endpoint, uint8_t … 114 void avdtp_streaming_emit_connection_released(avdtp_stream_endpoint_t *stream_endpoint, uint16_t av… 116 void avdtp_streaming_emit_can_send_media_packet_now(avdtp_stream_endpoint_t *stream_endpoint, uint1… 122 void avdtp_reset_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint); 125 uint8_t avdtp_local_seid(const avdtp_stream_endpoint_t * stream_endpoint); 126 uint8_t avdtp_remote_seid(const avdtp_stream_endpoint_t * stream_endpoint);
|
H A D | a2dp_sink.c | 59 static uint8_t (*a2dp_sink_media_config_validator)(const avdtp_stream_endpoint_t * stream_endpoint,… 103 avdtp_stream_endpoint_t * a2dp_sink_create_stream_endpoint(avdtp_media_type_t media_type, avdtp_med… in a2dp_sink_create_stream_endpoint() 106 …avdtp_stream_endpoint_t * local_stream_endpoint = avdtp_sink_create_stream_endpoint(AVDTP_SINK, me… in a2dp_sink_create_stream_endpoint() 122 void a2dp_sink_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){ in a2dp_sink_finalize_stream_endpoint() 167 static uint8_t a2dp_sink_media_config_validator_callback(const avdtp_stream_endpoint_t * stream_end… in a2dp_sink_media_config_validator_callback() 181 void a2dp_sink_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t * … in a2dp_sink_register_media_config_validator()
|
H A D | a2dp_sink.h | 83 avdtp_stream_endpoint_t * a2dp_sink_create_stream_endpoint(avdtp_media_type_t media_type, avdtp_me… 91 void a2dp_sink_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint); 203 void a2dp_sink_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t * …
|
H A D | a2dp_source.c | 71 static uint8_t (*a2dp_source_media_config_validator)(const avdtp_stream_endpoint_t * stream_endpoin… 125 avdtp_stream_endpoint_t * a2dp_source_create_stream_endpoint(avdtp_media_type_t media_type, avdtp_m… in a2dp_source_create_stream_endpoint() 128 …avdtp_stream_endpoint_t * stream_endpoint = avdtp_source_create_stream_endpoint(AVDTP_SOURCE, medi… in a2dp_source_create_stream_endpoint() 145 void a2dp_source_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){ in a2dp_source_finalize_stream_endpoint() 304 static uint8_t a2dp_source_media_config_validator_callback(const avdtp_stream_endpoint_t * stream_e… in a2dp_source_media_config_validator_callback() 318 void a2dp_source_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t … in a2dp_source_register_media_config_validator()
|
H A D | a2dp_source.h | 83 avdtp_stream_endpoint_t * a2dp_source_create_stream_endpoint(avdtp_media_type_t media_type, avdtp_m… 91 void a2dp_source_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint); 245 void a2dp_source_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t …
|
H A D | avdtp_sink.h | 64 avdtp_stream_endpoint_t * avdtp_sink_create_stream_endpoint(avdtp_sep_type_t sep_type, avdtp_media_… 70 void avdtp_sink_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint); 186 void avdtp_sink_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t *…
|
H A D | avdtp_source.h | 231 avdtp_stream_endpoint_t * avdtp_source_create_stream_endpoint(avdtp_sep_type_t sep_type, avdtp_medi… 237 void avdtp_source_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint); 283 void avdtp_source_register_media_config_validator(uint8_t (*callback)(const avdtp_stream_endpoint_t…
|
H A D | avdtp_util.c | 157 void avdtp_reset_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){ in avdtp_reset_stream_endpoint() 610 void avdtp_signaling_emit_accept_for_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint, uin… in avdtp_signaling_emit_accept_for_stream_endpoint() 1008 const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_sbc_config_event() 1098 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_mpeg_audio_config_event() 1192 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_mpec_aac_config_event() 1266 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_mpegd_config_event() 1329 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_atrac_config_event() 1400 … const avdtp_stream_endpoint_t *stream_endpoint, in avdtp_signaling_setup_media_codec_other_config_event() 1446 …up_media_codec_config_event(uint8_t *event, uint16_t size, const avdtp_stream_endpoint_t *stream_e… in avdtp_setup_media_codec_config_event() 1471 void avdtp_signaling_emit_configuration(avdtp_stream_endpoint_t *stream_endpoint, uint16_t avdtp_ci… in avdtp_signaling_emit_configuration() [all …]
|
H A D | avdtp_acceptor.c | 101 …vdtp_connection_t *connection, int offset, uint16_t packet_size, avdtp_stream_endpoint_t *stream_e… in avdtp_acceptor_handle_configuration_command() 189 avdtp_stream_endpoint_t * stream_endpoint = NULL; in avdtp_acceptor_stream_config_subsm() 478 …ptor_send_seps_response(uint16_t cid, uint8_t transaction_label, avdtp_stream_endpoint_t * endpoin… in avdtp_acceptor_send_seps_response() 487 …avdtp_stream_endpoint_t * stream_endpoint = (avdtp_stream_endpoint_t *)btstack_linked_list_iterato… in avdtp_acceptor_send_seps_response() 533 …n->l2cap_signaling_cid, connection->acceptor_transaction_label, (avdtp_stream_endpoint_t *) stream… in avdtp_acceptor_stream_config_subsm_run() 557 …avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(connection->accepto… in avdtp_acceptor_stream_config_subsm_run()
|
H A D | avdtp_initiator.c | 78 avdtp_stream_endpoint_t * stream_endpoint = NULL; in avdtp_initiator_stream_config_subsm() 79 avdtp_stream_endpoint_t * stream_endpoint_for_event = NULL; in avdtp_initiator_stream_config_subsm() 344 …tream_config_subsm_run_endpoint(avdtp_connection_t * connection, avdtp_stream_endpoint_t * stream_… in avdtp_initiator_stream_config_subsm_run_endpoint() 420 …avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(connection->initiat… in avdtp_initiator_stream_config_subsm_handle_can_send_now_signaling() 489 …nitiator_stream_config_subsm_handle_can_send_now_stream_endpoint(avdtp_stream_endpoint_t * stream… in avdtp_initiator_stream_config_subsm_handle_can_send_now_stream_endpoint()
|
H A D | avdtp_initiator.h | 55 …nitiator_stream_config_subsm_handle_can_send_now_stream_endpoint(avdtp_stream_endpoint_t *stream_e…
|
H A D | a2dp.c | 449 avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_stream_endpoint_for_seid(local_seid); in a2dp_config_process_config_init() 607 …avdtp_stream_endpoint_t * stream_endpoint = avdtp_get_source_stream_endpoint_for_media_codec_and_t… in a2dp_config_process_avdtp_event_handler()
|
/btstack/test/avdtp/ |
H A D | sine_encode_decode_ring_buffer_test.c | 77 static avdtp_stream_endpoint_t * local_stream_endpoint; 87 …fill_audio_ring_buffer(void *userData, int num_samples_to_write, avdtp_stream_endpoint_t * stream_… in fill_audio_ring_buffer() 109 …_frame_for_transmission(uint8_t * sbc_frame, int sbc_frame_size, avdtp_stream_endpoint_t * stream_… in store_sbc_frame_for_transmission() 121 static void avdtp_source_stream_endpoint_run(avdtp_stream_endpoint_t * stream_endpoint){ in avdtp_source_stream_endpoint_run() 150 avdtp_stream_endpoint_t * stream_endpoint = btstack_run_loop_get_timer_context(timer); in test_fill_audio_ring_buffer_timeout_handler() 173 static void test_fill_audio_ring_buffer_timer_start(avdtp_stream_endpoint_t * stream_endpoint){ in test_fill_audio_ring_buffer_timer_start() 181 static void test_fill_audio_ring_buffer_timer_stop(avdtp_stream_endpoint_t * stream_endpoint){ in test_fill_audio_ring_buffer_timer_stop()
|
/btstack/src/ |
H A D | btstack_memory.h | 143 avdtp_stream_endpoint_t * btstack_memory_avdtp_stream_endpoint_get(void); 144 void btstack_memory_avdtp_stream_endpoint_free(avdtp_stream_endpoint_t *avdtp_stream_endpoint);
|
H A D | btstack_memory.c | 938 static avdtp_stream_endpoint_t avdtp_stream_endpoint_storage[MAX_NR_AVDTP_STREAM_ENDPOINTS]; 940 avdtp_stream_endpoint_t * btstack_memory_avdtp_stream_endpoint_get(void){ in btstack_memory_avdtp_stream_endpoint_get() 943 memset(buffer, 0, sizeof(avdtp_stream_endpoint_t)); in btstack_memory_avdtp_stream_endpoint_get() 945 return (avdtp_stream_endpoint_t *) buffer; in btstack_memory_avdtp_stream_endpoint_get() 947 void btstack_memory_avdtp_stream_endpoint_free(avdtp_stream_endpoint_t *avdtp_stream_endpoint){ in btstack_memory_avdtp_stream_endpoint_free() 951 avdtp_stream_endpoint_t * btstack_memory_avdtp_stream_endpoint_get(void){ in btstack_memory_avdtp_stream_endpoint_get() 954 void btstack_memory_avdtp_stream_endpoint_free(avdtp_stream_endpoint_t *avdtp_stream_endpoint){ in btstack_memory_avdtp_stream_endpoint_free() 962 avdtp_stream_endpoint_t data; 965 avdtp_stream_endpoint_t * btstack_memory_avdtp_stream_endpoint_get(void){ in btstack_memory_avdtp_stream_endpoint_get() 975 void btstack_memory_avdtp_stream_endpoint_free(avdtp_stream_endpoint_t *avdtp_stream_endpoint){ in btstack_memory_avdtp_stream_endpoint_free() [all …]
|
/btstack/test/fuzz/ |
H A D | fuzz_avdtp.c | 80 … avdtp_stream_endpoint_t * local_stream_endpoint = a2dp_sink_create_stream_endpoint(AVDTP_AUDIO, in LLVMFuzzerTestOneInput()
|
/btstack/test/avdtp_util/ |
H A D | avdtp_util_test.cpp | 67 …_packet_handler_t avdtp_packet_handler_for_stream_endpoint(const avdtp_stream_endpoint_t * stream_… in avdtp_packet_handler_for_stream_endpoint()
|
/btstack/test/btstack_memory/ |
H A D | btstack_memory_test.cpp | 687 avdtp_stream_endpoint_t * context; in TEST() 708 avdtp_stream_endpoint_t * context; in TEST()
|
/btstack/example/ |
H A D | avrcp_browsing_client.c | 261 avdtp_stream_endpoint_t * local_stream_endpoint = a2dp_sink_create_stream_endpoint(AVDTP_AUDIO, in btstack_main()
|
H A D | a2dp_source_demo.c | 268 …avdtp_stream_endpoint_t * local_stream_endpoint = a2dp_source_create_stream_endpoint(AVDTP_AUDIO, … in a2dp_source_and_avrcp_services_init()
|
H A D | a2dp_sink_demo.c | 284 avdtp_stream_endpoint_t * local_stream_endpoint = a2dp_sink_create_stream_endpoint(AVDTP_AUDIO, in setup_demo()
|