doc: remove tabs and spaces from API functions

This commit is contained in:
Milanka Ringwald 2024-04-01 13:32:48 +02:00
parent 7502b1923c
commit e7a997a598
4 changed files with 7 additions and 11 deletions

View File

@ -150,7 +150,7 @@ uint8_t a2dp_source_disconnect(uint16_t a2dp_cid);
* @param a2dp_cid A2DP channel identifier.
* @param local_seid ID of a local stream endpoint.
*/
void a2dp_source_stream_endpoint_request_can_send_now(uint16_t a2dp_cid, uint8_t local_seid);
void a2dp_source_stream_endpoint_request_can_send_now(uint16_t a2dp_cid, uint8_t local_seid);
/**
* @brief Return maximal media payload size, does not include media header.
@ -158,7 +158,7 @@ void a2dp_source_stream_endpoint_request_can_send_now(uint16_t a2dp_cid, uint8_
* @param local_seid ID of a local stream endpoint.
* @return max_media_payload_size_without_media_header
*/
int a2dp_max_media_payload_size(uint16_t a2dp_cid, uint8_t local_seid);
int a2dp_max_media_payload_size(uint16_t a2dp_cid, uint8_t local_seid);
/**
* @brief Send media payload.
@ -171,8 +171,7 @@ int a2dp_max_media_payload_size(uint16_t a2dp_cid, uint8_t local_seid);
* @param marker
* @return status
*/
uint8_t
a2dp_source_stream_send_media_payload_rtp(uint16_t a2dp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp,
uint8_t a2dp_source_stream_send_media_payload_rtp(uint16_t a2dp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp,
uint8_t *payload, uint16_t payload_size);
/**

View File

@ -168,8 +168,7 @@ void avdtp_source_deinit(void){
avdtp_deinit();
}
static void
avdtp_source_setup_media_header(uint8_t *media_packet, uint8_t marker, uint16_t sequence_number, uint32_t timestamp) {
static void avdtp_source_setup_media_header(uint8_t *media_packet, uint8_t marker, uint16_t sequence_number, uint32_t timestamp) {
uint8_t rtp_version = 2;
uint8_t padding = 0;
uint8_t extension = 0;
@ -188,8 +187,7 @@ avdtp_source_setup_media_header(uint8_t *media_packet, uint8_t marker, uint16_t
big_endian_store_32(media_packet, pos, ssrc); // only used for multicast
}
uint8_t
avdtp_source_stream_send_media_payload_rtp(uint16_t avdtp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp,
uint8_t avdtp_source_stream_send_media_payload_rtp(uint16_t avdtp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp,
const uint8_t *payload, uint16_t payload_size) {
UNUSED(avdtp_cid);

View File

@ -256,8 +256,7 @@ uint8_t avdtp_source_stream_send_media_packet(uint16_t avdtp_cid, uint8_t local_
* @param size
* @return status
*/
uint8_t
avdtp_source_stream_send_media_payload_rtp(uint16_t avdtp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp,
uint8_t avdtp_source_stream_send_media_payload_rtp(uint16_t avdtp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp,
const uint8_t *payload, uint16_t size);
/**

View File

@ -158,7 +158,7 @@ typedef struct {
* - GATTSERVICE_SUBEVENT_BASS_CLIENT_NOTIFICATION_COMPLETE
* @param packet_handler for events
*/
void broadcast_audio_scan_service_client_init(btstack_packet_handler_t packet_handler);
void broadcast_audio_scan_service_client_init(btstack_packet_handler_t packet_handler);
/**
* @brief Connect to BASS Service on remote device