mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avdtp: increase config buffer for a2dp
This commit is contained in:
parent
0fa4346cf1
commit
e14261c47a
@ -533,11 +533,11 @@ typedef struct avdtp_stream_endpoint {
|
||||
uint16_t remote_configuration_bitmap;
|
||||
avdtp_capabilities_t remote_configuration;
|
||||
|
||||
// temporary SBC config used by A2DP Source
|
||||
// temporary codec config used by A2DP Source
|
||||
uint8_t set_config_remote_seid;
|
||||
avdtp_media_codec_type_t media_codec_type;
|
||||
avdtp_media_type_t media_type;
|
||||
uint8_t media_codec_sbc_info[4];
|
||||
uint8_t media_codec_sbc_info[8];
|
||||
|
||||
// preferred SBC codec settings
|
||||
uint32_t preferred_sampling_frequency;
|
||||
|
@ -125,7 +125,7 @@ void avdtp_reset_stream_endpoint(avdtp_stream_endpoint_t * stream_endpoint){
|
||||
memset(&stream_endpoint->remote_configuration, 0, sizeof(avdtp_capabilities_t));
|
||||
|
||||
// temporary SBC config used by A2DP Source
|
||||
memset(stream_endpoint->media_codec_sbc_info, 0, 4);
|
||||
memset(stream_endpoint->media_codec_sbc_info, 0, 8);
|
||||
|
||||
stream_endpoint->media_disconnect = 0;
|
||||
stream_endpoint->media_connect = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user