mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
a2dp: add ldac ABR support
Signed-off-by: Huang-Huang Bao <eh5@sokka.cn>
This commit is contained in:
parent
7ef15f3721
commit
16f5058af9
7 changed files with 186 additions and 34 deletions
|
|
@ -333,6 +333,9 @@ struct a2dp_codec {
|
|||
const char *name;
|
||||
const char *description;
|
||||
|
||||
const int send_fill_frames;
|
||||
const int recv_fill_frames;
|
||||
|
||||
int (*fill_caps) (const struct a2dp_codec *codec, uint32_t flags,
|
||||
uint8_t caps[A2DP_MAX_CAPS_SIZE]);
|
||||
int (*select_config) (const struct a2dp_codec *codec, uint32_t flags,
|
||||
|
|
@ -349,6 +352,8 @@ struct a2dp_codec {
|
|||
int (*get_block_size) (void *data);
|
||||
int (*get_num_blocks) (void *data);
|
||||
|
||||
int (*abr_process) (void *data, size_t unsent);
|
||||
|
||||
int (*start_encode) (void *data,
|
||||
void *dst, size_t dst_size, uint16_t seqnum, uint32_t timestamp);
|
||||
int (*encode) (void *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue