]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/sink.h
core: add a seperate fixed_latency field for sinks/sources with fixed latency
[pulseaudio] / src / pulsecore / sink.h
index 289054de07703314f76e5cf06422bc6067e1ebf1..cb4697f903cf5faeb439e154bbaead882d581d2f 100644 (file)
@@ -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 */