mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez5: sco-source: pass read mtu to codec
This commit is contained in:
parent
b869305282
commit
3922247356
1 changed files with 2 additions and 1 deletions
|
|
@ -566,7 +566,8 @@ static int transport_start(struct impl *this)
|
||||||
port->current_format.info.raw.rate * 40 / 1000);
|
port->current_format.info.raw.rate * 40 / 1000);
|
||||||
|
|
||||||
/* init codec */
|
/* init codec */
|
||||||
this->codec_data = this->codec->init(this->codec, 0, NULL, 0, NULL, NULL, 0);
|
this->codec_data = this->codec->init(this->codec, 0, NULL, 0, NULL, NULL,
|
||||||
|
this->transport->read_mtu);
|
||||||
if (!this->codec_data) {
|
if (!this->codec_data) {
|
||||||
spa_log_error(this->log, "codec init failed");
|
spa_log_error(this->log, "codec init failed");
|
||||||
res = -EINVAL;
|
res = -EINVAL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue