summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-10 01:26:04 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-10 01:26:04 +0200
commitf7c229d8f9a4c67ff7ef0f3d351069a45ba19aff (patch)
tree7b7197b5996e6f77978559f91fbe0a0deae7f152 /src/pulsecore/source.h
parent9ae8ca2c3754abb9b6f6ce94c414c12d87419ac0 (diff)
core: add a seperate fixed_latency field for sinks/sources with fixed latency
Diffstat (limited to 'src/pulsecore/source.h')
-rw-r--r--src/pulsecore/source.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h
index 652783ef..b502c228 100644
--- a/src/pulsecore/source.h
+++ b/src/pulsecore/source.h
@@ -87,6 +87,8 @@ struct pa_source {
pa_memchunk silence;
+ pa_usec_t fixed_latency; /* for sources with PA_SOURCE_DYNAMIC_LATENCY this is 0 */
+
/* Called when the main loop requests a state change. Called from
* main loop context. If returns -1 the state change will be
* inhibited */