From ad6e2ce480f7ded32e2fee629b6ad20f75637496 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 29 Jan 2024 09:41:11 +0100 Subject: [PATCH] param: clarify the internal latency --- spa/include/spa/param/latency.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spa/include/spa/param/latency.h b/spa/include/spa/param/latency.h index 61a54fc2d..456c8b6cb 100644 --- a/spa/include/spa/param/latency.h +++ b/spa/include/spa/param/latency.h @@ -28,10 +28,11 @@ extern "C" { * of that cycle having occurred in audio input. * * For physical output/input, the latency is intended to correspond to the - * rendering/capture of physical audio. However, hardware internal rendering delay is - * usually not included e.g. for ALSA. + * rendering/capture of physical audio, including hardware internal rendering delay. * - * The latency values are adjusted by \ref SPA_PROP_latencyOffsetNsec if present. + * The latency values are adjusted by \ref SPA_PROP_latencyOffsetNsec or + * SPA_PARAM_ProcessLatency, if present. (e.g. for ALSA this is used to adjust for + * the internal hardware latency). */ enum spa_param_latency { SPA_PARAM_LATENCY_START,