mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
a2dp_source: remove unused param
This commit is contained in:
parent
cc85b8eac3
commit
4c5b56ffe3
@ -900,7 +900,7 @@ static void stdin_process(char cmd){
|
||||
uint8_t status = ERROR_CODE_SUCCESS;
|
||||
switch (cmd){
|
||||
case 'b':
|
||||
status = a2dp_source_establish_stream(device_addr, media_tracker.local_seid, &media_tracker.a2dp_cid);
|
||||
status = a2dp_source_establish_stream(device_addr, &media_tracker.a2dp_cid);
|
||||
printf("%c - Create A2DP Source connection to addr %s, cid 0x%02x.\n", cmd, bd_addr_to_str(device_addr), media_tracker.a2dp_cid);
|
||||
break;
|
||||
case 'B':
|
||||
|
@ -699,7 +699,7 @@ void a2dp_source_finalize_stream_endpoint(avdtp_stream_endpoint_t * stream_endpo
|
||||
avdtp_source_finalize_stream_endpoint(stream_endpoint);
|
||||
}
|
||||
|
||||
uint8_t a2dp_source_establish_stream(bd_addr_t remote_addr, uint8_t loc_seid, uint16_t * avdtp_cid){
|
||||
uint8_t a2dp_source_establish_stream(bd_addr_t remote_addr, uint16_t *avdtp_cid) {
|
||||
if (outgoing_active || stream_endpoint_configured) {
|
||||
return ERROR_CODE_COMMAND_DISALLOWED;
|
||||
}
|
||||
|
@ -114,11 +114,10 @@ void a2dp_source_register_packet_handler(btstack_packet_handler_t callback);
|
||||
|
||||
/**
|
||||
* @brief Open stream.
|
||||
* @param remote
|
||||
* @param local_seid ID assigned to a local stream endpoint
|
||||
* @param out_a2dp_cid Assigned A2DP channel identifyer used for furhter A2DP commands.
|
||||
* @param remote_addr
|
||||
* @param avdtp_cid Assigned A2DP channel identifyer used for furhter A2DP commands.
|
||||
*/
|
||||
uint8_t a2dp_source_establish_stream(bd_addr_t remote, uint8_t local_seid, uint16_t * out_a2dp_cid);
|
||||
uint8_t a2dp_source_establish_stream(bd_addr_t remote_addr, uint16_t *avdtp_cid);
|
||||
|
||||
/**
|
||||
* @brief Reconfigure stream.
|
||||
|
Loading…
x
Reference in New Issue
Block a user