[pulseaudio-discuss] [PATCH] device-port: Change the latency offset type to a signed int.
Tanu Kaskinen
tanuk at iki.fi
Thu Jun 28 06:41:24 PDT 2012
On Wed, 2012-06-27 at 17:38 +0200, poljar (Damir Jelić) wrote:
> From: "poljar (Damir Jelić)" <poljarinho at gmail.com>
>
> The latency offset type should be signed (int64_t) so we can also add
> a negative latency offset.
>
> This also includes changing the type of the sink/source
> offsets and updating pacmd so it handles negative numbers.
Thanks again, I've pushed this now. I also added a check to the latency
query functions to make sure that the latency doesn't underflow if the
negative offset is bigger than the original latency.
--
Tanu
More information about the pulseaudio-discuss
mailing list