summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-13 23:28:30 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-13 23:28:30 +0000
commit829656c5fcd7169e4c2f86f4ad5098ea9aaa5643 (patch)
treeedbca9829ad4b7dfa67f6d7515b3c3c66cc58338 /polyp/polyplib-def.h
parentfbefe67d52eb89a429505c653d1ea4ce73d4f4e7 (diff)
new configuration subsystem
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@198 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-def.h')
-rw-r--r--polyp/polyplib-def.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/polyp/polyplib-def.h b/polyp/polyplib-def.h
index 176e1d3b..4a49a1f8 100644
--- a/polyp/polyplib-def.h
+++ b/polyp/polyplib-def.h
@@ -144,7 +144,16 @@ struct pa_latency_info {
pa_usec_t sink_usec; /**< Time in usecs a sample takes to be played on the sink. */
pa_usec_t transport_usec; /**< Estimated time in usecs a sample takes to be transferred to the daemon. \since 0.5 */
int playing; /**< Non-zero when the stream is currently playing */
- uint32_t queue_length; /**< Queue size in bytes. */
+ uint32_t queue_length; /**< Queue size in bytes. */
+ int synchronized_clocks; /**< Non-zero if the local and the
+ * remote machine have synchronized
+ * clocks. If synchronized clocks are
+ * detected transport_usec becomes much
+ * more reliable. However, the code that
+ * detects synchronized clocks is very
+ * limited und unreliable itself. \since
+ * 0.5 */
+ struct timeval timestamp; /**< The time when this latency info was current */
};
PA_C_DECL_END