avdtp.c (4e7bc04fcd281ba6a1badfeb8cf313d97a94de69) avdtp.c (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

--- 1376 unchanged lines hidden (view full) ---

1385 connection->initiator_remote_seid = remote_seid;
1386 connection->initiator_local_seid = local_seid;
1387 stream_endpoint->remote_configuration_bitmap = configured_services_bitmap;
1388 stream_endpoint->remote_configuration = configuration;
1389 stream_endpoint->initiator_config_state = AVDTP_INITIATOR_W2_RECONFIGURE_STREAM_WITH_SEID;
1390 return avdtp_request_can_send_now_initiator(connection);
1391}
1392
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

--- 1376 unchanged lines hidden (view full) ---

1385 connection->initiator_remote_seid = remote_seid;
1386 connection->initiator_local_seid = local_seid;
1387 stream_endpoint->remote_configuration_bitmap = configured_services_bitmap;
1388 stream_endpoint->remote_configuration = configuration;
1389 stream_endpoint->initiator_config_state = AVDTP_INITIATOR_W2_RECONFIGURE_STREAM_WITH_SEID;
1390 return avdtp_request_can_send_now_initiator(connection);
1391}
1392
1393void avdtp_set_preferred_sampling_frequeny(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency){
1393void avdtp_set_preferred_sampling_frequency(avdtp_stream_endpoint_t * stream_endpoint, uint32_t sampling_frequency){
1394 stream_endpoint->preferred_sampling_frequency = sampling_frequency;
1395}
1396
1397void avdtp_set_preferred_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint8_t channel_mode){
1398 stream_endpoint->preferred_channel_mode = channel_mode;
1399}
1400
1401

--- 153 unchanged lines hidden ---
1394 stream_endpoint->preferred_sampling_frequency = sampling_frequency;
1395}
1396
1397void avdtp_set_preferred_channel_mode(avdtp_stream_endpoint_t * stream_endpoint, uint8_t channel_mode){
1398 stream_endpoint->preferred_channel_mode = channel_mode;
1399}
1400
1401

--- 153 unchanged lines hidden ---