[pulseaudio-discuss] PATCH 2/2: RAOP: Init dummy port and card for latency change
Tanu Kaskinen
tanuk at iki.fi
Wed Oct 11 15:41:26 UTC 2017
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
More information about the pulseaudio-discuss
mailing list