mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 02:42:33 +00:00
a2dp_source: remove deprecated a2dp_source_stream_send_media_payload
This commit is contained in:
parent
21f2491df4
commit
f37082eece
@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
## Removed
|
||||
- AVDTP Source: avdtp_source_stream_send_media_payload, use avdtp_source_stream_send_media_payload_rtp instead
|
||||
- A2DP Source: a2dp_source_stream_send_media_payload, use a2dp_source_stream_send_media_payload_rtp instead
|
||||
|
||||
## Fixed
|
||||
- HCI: fix set extended scan response
|
||||
|
@ -207,10 +207,6 @@ int a2dp_max_media_payload_size(uint16_t avdtp_cid, uint8_t local_seid){
|
||||
return avdtp_max_media_payload_size(avdtp_cid, local_seid);
|
||||
}
|
||||
|
||||
int a2dp_source_stream_send_media_payload(uint16_t avdtp_cid, uint8_t local_seid, uint8_t * storage, int num_bytes_to_copy, uint8_t num_frames, uint8_t marker){
|
||||
return avdtp_source_stream_send_media_payload(avdtp_cid, local_seid, storage, num_bytes_to_copy, num_frames, marker);
|
||||
}
|
||||
|
||||
uint8_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){
|
||||
return avdtp_source_stream_send_media_payload_rtp(a2dp_cid, local_seid, marker, payload, payload_size);
|
||||
}
|
||||
|
@ -160,18 +160,6 @@ void a2dp_source_stream_endpoint_request_can_send_now(uint16_t a2dp_cid, uint8_
|
||||
*/
|
||||
int a2dp_max_media_payload_size(uint16_t a2dp_cid, uint8_t local_seid);
|
||||
|
||||
/**
|
||||
* @brief Send media payload.
|
||||
* @param a2dp_cid A2DP channel identifier.
|
||||
* @param local_seid ID of a local stream endpoint.
|
||||
* @param storage
|
||||
* @param num_bytes_to_copy
|
||||
* @param num_frames
|
||||
* @param marker
|
||||
* @return max_media_payload_size_without_media_header
|
||||
*/
|
||||
int a2dp_source_stream_send_media_payload(uint16_t a2dp_cid, uint8_t local_seid, uint8_t * storage, int num_bytes_to_copy, uint8_t num_frames, uint8_t marker);
|
||||
|
||||
/**
|
||||
* @brief Send media payload.
|
||||
* @param a2dp_cid A2DP channel identifier.
|
||||
|
Loading…
x
Reference in New Issue
Block a user