mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
a2dp-codecs: add settings to codec init function
To make it possible to add extra config options in init. Also add a method to update settings in a codec.
This commit is contained in:
parent
deb3fa1d9b
commit
5bb7a0f573
7 changed files with 18 additions and 12 deletions
|
|
@ -505,7 +505,7 @@ static int transport_start(struct impl *this)
|
|||
this->codec_data = this->codec->init(this->codec, 0,
|
||||
this->transport->configuration,
|
||||
this->transport->configuration_len,
|
||||
&port->current_format,
|
||||
&port->current_format, NULL,
|
||||
this->transport->read_mtu);
|
||||
if (this->codec_data == NULL)
|
||||
return -EIO;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue