avdtp.h (0d4e135319600a29c5696f2bc13ad1bfd5256ad6) | avdtp.h (093c3dfd652916ea99ab33c8db4d490e810af157) |
---|---|
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 --- 644 unchanged lines hidden (view full) --- 653uint8_t avdtp_get_capabilities(uint16_t avdtp_cid, uint8_t remote_seid); 654uint8_t avdtp_get_all_capabilities(uint16_t avdtp_cid, uint8_t remote_seid); 655uint8_t avdtp_get_configuration(uint16_t avdtp_cid, uint8_t remote_seid); 656uint8_t avdtp_set_configuration(uint16_t avdtp_cid, uint8_t local_seid, uint8_t remote_seid, uint16_t configured_services_bitmap, avdtp_capabilities_t configuration); 657uint8_t avdtp_reconfigure(uint16_t avdtp_cid, uint8_t local_seid, uint8_t remote_seid, uint16_t configured_services_bitmap, avdtp_capabilities_t configuration); 658uint8_t avdtp_validate_media_configuration(const avdtp_stream_endpoint_t * stream_endpoint, avdtp_media_codec_type_t media_codec_type, const uint8_t * media_codec_info, uint16_t media_codec_info_len); 659 660// frequency will be used by avdtp_choose_sbc_sampling_frequency (if supported by both endpoints) | 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 --- 644 unchanged lines hidden (view full) --- 653uint8_t avdtp_get_capabilities(uint16_t avdtp_cid, uint8_t remote_seid); 654uint8_t avdtp_get_all_capabilities(uint16_t avdtp_cid, uint8_t remote_seid); 655uint8_t avdtp_get_configuration(uint16_t avdtp_cid, uint8_t remote_seid); 656uint8_t avdtp_set_configuration(uint16_t avdtp_cid, uint8_t local_seid, uint8_t remote_seid, uint16_t configured_services_bitmap, avdtp_capabilities_t configuration); 657uint8_t avdtp_reconfigure(uint16_t avdtp_cid, uint8_t local_seid, uint8_t remote_seid, uint16_t configured_services_bitmap, avdtp_capabilities_t configuration); 658uint8_t avdtp_validate_media_configuration(const avdtp_stream_endpoint_t * stream_endpoint, avdtp_media_codec_type_t media_codec_type, const uint8_t * media_codec_info, uint16_t media_codec_info_len); 659 660// frequency will be used by avdtp_choose_sbc_sampling_frequency (if supported by both endpoints) |
661void avdtp_set_preferred_sampling_frequeny(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency); | 661void avdtp_set_preferred_sampling_frequency(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency); |
662 663// channel_mode will be used by avdtp_choose_sbc_channel_mode (if supported by both endpoints) 664void avdtp_set_preferred_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint8_t channel_mode); 665 666void avdtp_set_preferred_sbc_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency); 667 668avdtp_channel_mode_t avdtp_choose_sbc_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint8_t remote_channel_mode_bitmap); 669avdtp_sbc_allocation_method_t avdtp_choose_sbc_allocation_method(avdtp_stream_endpoint_t * stream_endpoint, uint8_t remote_allocation_method_bitmap); --- 17 unchanged lines hidden --- | 662 663// channel_mode will be used by avdtp_choose_sbc_channel_mode (if supported by both endpoints) 664void avdtp_set_preferred_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint8_t channel_mode); 665 666void avdtp_set_preferred_sbc_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency); 667 668avdtp_channel_mode_t avdtp_choose_sbc_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint8_t remote_channel_mode_bitmap); 669avdtp_sbc_allocation_method_t avdtp_choose_sbc_allocation_method(avdtp_stream_endpoint_t * stream_endpoint, uint8_t remote_allocation_method_bitmap); --- 17 unchanged lines hidden --- |