[LAD] Re: Status of Pipewire

Fons Adriaensen <[email protected]>
Newsgroups gmane.linux.audio.devel
Message-ID <[email protected]>
On Tue, Feb 14, 2023 at 04:55:00PM +0100, Wim Taymans wrote:

> > BTW, what about the 'signed differences' issue I pointed
> > out earlier ?
> 
> Should be fixed with this:
> https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/274b63e9723ec00dd413bb64b6650d2004f7e4c2

I don't think this is correct. But it may be a long time before
this becomes apparent.

Frame times are 32 bit. The required result of the subtraction is

   the difference modulo 2^32 and interpreted as an int32_t

i.e. including the wraparound resulting from the 'exact' value
being out of range for an int32_t.

The wraparound won't happen when frametimes are cast to 64 bit.

Ciao,

-- 
FA

_______________________________________________
Linux-audio-dev mailing list -- linux-audio-dev-cunTk1MwBs/[email protected]
To unsubscribe send an email to linux-audio-dev-leave-cunTk1MwBs/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.