PATCH 2/2: RAOP: Init dummy port and card for latency change

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

 



On Mon, 2017-10-09 at 09:45 +0200, Colin Leroy wrote:
> @@ -125,6 +126,8 @@ static int64_t sink_get_latency(const struct userdata *u) {
>      /* RAOP default latency */
>      latency += u->latency * PA_USEC_PER_MSEC;
>  
> +    latency += u->sink->port_latency_offset;

The offset is already added in pa_sink_get_latency() and
pa_sink_get_latency_within_thread(). I removed this line from the
patch, and applied both patches. Thanks for the contribution!

-- 
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