a2dp_source.h (f37082eeced869c71d8e66a316b854369c2d39aa) | a2dp_source.h (42780893c294d82e06e6ee0b370d0c83e51fe660) |
---|---|
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 --- 151 unchanged lines hidden (view full) --- 160 */ 161int a2dp_max_media_payload_size(uint16_t a2dp_cid, uint8_t local_seid); 162 163/** 164 * @brief Send media payload. 165 * @param a2dp_cid A2DP channel identifier. 166 * @param local_seid ID of a local stream endpoint. 167 * @param marker | 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 --- 151 unchanged lines hidden (view full) --- 160 */ 161int a2dp_max_media_payload_size(uint16_t a2dp_cid, uint8_t local_seid); 162 163/** 164 * @brief Send media payload. 165 * @param a2dp_cid A2DP channel identifier. 166 * @param local_seid ID of a local stream endpoint. 167 * @param marker |
168 * @param timestamp in sample rate units |
|
168 * @param payload 169 * @param payload_size 170 * @param marker 171 * @return status 172 */ | 169 * @param payload 170 * @param payload_size 171 * @param marker 172 * @return status 173 */ |
173uint8_t a2dp_source_stream_send_media_payload_rtp(uint16_t a2dp_cid, uint8_t local_seid, uint8_t marker, uint8_t * payload, uint16_t payload_size); | 174uint8_t 175a2dp_source_stream_send_media_payload_rtp(uint16_t a2dp_cid, uint8_t local_seid, uint8_t marker, uint32_t timestamp, 176 uint8_t *payload, uint16_t payload_size); |
174 175/** 176 * @brief Send media packet 177 * @param a2dp_cid A2DP channel identifier. 178 * @param local_seid ID of a local stream endpoint. 179 * @param packet 180 * @param size 181 * @return status --- 75 unchanged lines hidden --- | 177 178/** 179 * @brief Send media packet 180 * @param a2dp_cid A2DP channel identifier. 181 * @param local_seid ID of a local stream endpoint. 182 * @param packet 183 * @param size 184 * @return status --- 75 unchanged lines hidden --- |