[PATCH] device-port: Change the latency offset type to a signed int.

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

 



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



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

  Powered by Linux