[PATCH] bluetooth: Correct fixed latency for HSP sink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2017-02-04 at 19:34 +0100, Georg Chini wrote:
> The fixed latency for the HSP sink was set to 125 ms plus one write block size.
> pa_sink_get_latency() however returns 28 ms like it does for A2DP and also for
> the HSP source.
> Therefore this patch corrects the fixed latency of the HSP sink to 25 ms plus
> one write block size, assuming that the original value of 125 ms was a typo. 

I believe latency reporting in module-bluez5-device is broken, so it
can't be used as a justification for changing the constants. module-
bluez4-device includes the fixed latency in its latency reports.
module-bluez5-device does that too, but it only uses the A2DP constants
(even when HSP is active). That's probably because originally module-
bluez5-device only supported A2DP, and when HSP support was added
later, updating the latency reporting code was just forgotten.

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux