mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
a2dp: allow codec to hold Props params
Initial Props value are parsed from device settings, further changes are triggered by 'set_param' on a2dp node. Codec can then use props to tweak its transcoder.
This commit is contained in:
parent
6512c2b5f6
commit
1d390addb1
7 changed files with 123 additions and 23 deletions
|
|
@ -235,7 +235,7 @@ static int codec_enum_config(const struct a2dp_codec *codec,
|
|||
|
||||
static void *codec_init(const struct a2dp_codec *codec, uint32_t flags,
|
||||
void *config, size_t config_len, const struct spa_audio_info *info,
|
||||
const struct spa_dict *settings, size_t mtu)
|
||||
void *props, size_t mtu)
|
||||
{
|
||||
struct impl *this;
|
||||
a2dp_aac_t *conf = config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue