mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-03 20:54:18 +00:00
avdtp: fix spelling avdtp_set_preferred_sampling_frequency
This commit is contained in:
parent
a61834b6cb
commit
093c3dfd65
@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
- HCI: handle start inquiry failure
|
||||
- L2CAP: fix create outgoing connection triggered in hci disconnect event callback
|
||||
- L2CAP: return unknown mandatory option in config response
|
||||
- AVDTP: fix spelling `avdtp_set_preferred_sampling_frequency`
|
||||
- AVRCP Target: fix notification changed event
|
||||
- HFP: Emit Audio Connection Released on SLC Release, e.g. remote power off
|
||||
- HFP HF: only emit single event for RING and AG Status updates
|
||||
|
@ -1390,7 +1390,7 @@ uint8_t avdtp_reconfigure(uint16_t avdtp_cid, uint8_t local_seid, uint8_t remote
|
||||
return avdtp_request_can_send_now_initiator(connection);
|
||||
}
|
||||
|
||||
void avdtp_set_preferred_sampling_frequeny(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency){
|
||||
void avdtp_set_preferred_sampling_frequency(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency){
|
||||
stream_endpoint->preferred_sampling_frequency = sampling_frequency;
|
||||
}
|
||||
|
||||
|
@ -658,7 +658,7 @@ uint8_t avdtp_reconfigure(uint16_t avdtp_cid, uint8_t local_seid, uint8_t remote
|
||||
uint8_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);
|
||||
|
||||
// frequency will be used by avdtp_choose_sbc_sampling_frequency (if supported by both endpoints)
|
||||
void avdtp_set_preferred_sampling_frequeny(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency);
|
||||
void avdtp_set_preferred_sampling_frequency(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency);
|
||||
|
||||
// channel_mode will be used by avdtp_choose_sbc_channel_mode (if supported by both endpoints)
|
||||
void avdtp_set_preferred_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint8_t channel_mode);
|
||||
|
@ -1600,7 +1600,7 @@ int btstack_main(int argc, const char * argv[]){
|
||||
stream_endpoint->media_codec_configuration_info = local_stream_endpoint_sbc_media_codec_configuration;
|
||||
stream_endpoint->media_codec_configuration_len = sizeof(local_stream_endpoint_sbc_media_codec_configuration);
|
||||
avdtp_source_register_delay_reporting_category(avdtp_local_seid(stream_endpoint));
|
||||
avdtp_set_preferred_sampling_frequeny(stream_endpoint, 44100);
|
||||
avdtp_set_preferred_sampling_frequency(stream_endpoint, 44100);
|
||||
avdtp_set_preferred_channel_mode(stream_endpoint, AVDTP_SBC_STEREO);
|
||||
|
||||
#ifdef HAVE_AAC_FDK
|
||||
|
Loading…
x
Reference in New Issue
Block a user