mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 12:50:52 +00:00
avdtp initiator: fix compile
This commit is contained in:
parent
8d254f098a
commit
c4bbf7740f
@ -151,10 +151,10 @@ void avdtp_initiator_stream_config_subsm(avdtp_connection_t * connection, uint8_
|
||||
break;
|
||||
}
|
||||
// copy sbc media codec info
|
||||
stream_endpoint->remote_seid.configured_service_categories |= stream_endpoint->remote_configuration_bitmap;
|
||||
stream_endpoint->remote_seid.configuration = stream_endpoint->remote_configuration;
|
||||
stream_endpoint->remote_sep.configured_service_categories |= stream_endpoint->remote_configuration_bitmap;
|
||||
stream_endpoint->remote_sep.configuration = stream_endpoint->remote_configuration;
|
||||
memcpy(stream_endpoint->media_codec_sbc_info, stream_endpoint->remote_configuration.media_codec.media_codec_information, 4);
|
||||
stream_endpoint->remote_seid.configuration.media_codec.media_codec_information = stream_endpoint->media_codec_sbc_info;
|
||||
stream_endpoint->remote_sep.configuration.media_codec.media_codec_information = stream_endpoint->media_codec_sbc_info;
|
||||
|
||||
#if 0
|
||||
sep.configured_service_categories = avdtp_unpack_service_capabilities(connection, &sep.configuration, connection->signaling_packet.command+4, connection->signaling_packet.size-4);
|
||||
|
Loading…
Reference in New Issue
Block a user