summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink.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/sink.h
parent9ae8ca2c3754abb9b6f6ce94c414c12d87419ac0 (diff)
core: add a seperate fixed_latency field for sinks/sources with fixed latency
Diffstat (limited to 'src/pulsecore/sink.h')
-rw-r--r--src/pulsecore/sink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h
index 289054de..cb4697f9 100644
--- a/src/pulsecore/sink.h
+++ b/src/pulsecore/sink.h
@@ -86,6 +86,8 @@ struct pa_sink {
pa_memchunk silence;
+ pa_usec_t fixed_latency; /* for sinks with PA_SINK_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 */