Right, I've missed it.
Br,
Grzegorz
2017-07-12 17:12 GMT+02:00 Tanu Kaskinen :
> On Wed, 2017-07-12 at 09:57 +0200, Grzegorz Kołodziejczyk wrote:
> > Hi Tanu,
> >
> > I think you weren't rebased on master upstream with this patch or I have
> a
> > git problem :)
> > I can't find
On Wed, 2017-07-12 at 09:57 +0200, Grzegorz Kołodziejczyk wrote:
> Hi Tanu,
>
> I think you weren't rebased on master upstream with this patch or I have a
> git problem :)
> I can't find this negation of pa_bytes_to_usec "extra =
> -pa_bytes_to_usec(p->read_index,
pa_usec_t is an unsigned type, but there were calculations that used it
as if it were a signed type.
If the latency is negative, pa_simple_get_latency() now reports 0.
Added some comments too.
---
This patch doesn't apply to the master branch, so if you want to apply
the patch, use the next