[pulseaudio-discuss] [PATCH 1/5] device-port: Add a latency variable to the port struct

Tanu Kaskinen tanuk at iki.fi
Wed Jun 27 05:50:14 PDT 2012


On Fri, 2012-06-22 at 20:55 +0200, poljar (Damir Jelic) wrote:
> diff --git a/src/pulsecore/device-port.h b/src/pulsecore/device-port.h
> index 63d5ccf..5880195 100644
> --- a/src/pulsecore/device-port.h
> +++ b/src/pulsecore/device-port.h
> @@ -51,6 +51,7 @@ struct pa_device_port {
>      pa_hashmap *profiles; /* Does not own the profiles */
>      pa_bool_t is_input:1;
>      pa_bool_t is_output:1;
> +    pa_usec_t latency_offset;

Oops, I forgot that pa_usec_t is unsigned. I guess the type needs to be
int64_t instead of pa_usec_t. That will require quite a few changes...
Too bad I already pushed the first three patches.

-- 
Tanu



More information about the pulseaudio-discuss mailing list