mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
bluez5: set BAP QoS RTN correctly
Set QoS RTN according to values supported by server values.
This commit is contained in:
parent
142b660e7b
commit
43af0645b7
2 changed files with 7 additions and 0 deletions
|
|
@ -674,6 +674,8 @@ static int codec_get_qos(const struct media_codec *codec,
|
|||
if (endpoint_qos->latency >= 0x0005 && endpoint_qos->latency <= 0x0FA0)
|
||||
/* Values outside the range are RFU */
|
||||
qos->latency = endpoint_qos->latency;
|
||||
if (endpoint_qos->retransmission)
|
||||
qos->retransmission = endpoint_qos->retransmission;
|
||||
if (endpoint_qos->delay_min)
|
||||
qos->delay = SPA_MAX(qos->delay, endpoint_qos->delay_min);
|
||||
if (endpoint_qos->delay_max)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue