summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-10 22:35:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-10 22:35:12 +0000
commit25123469d53e2ef555549984ea4e8b028c1632fb (patch)
tree4a1374c5e7ca11afff25d240b81809d23f791eb1 /polyp/polyplib-def.h
parent0c99fb31826fba0ed4f904d04dd56f1df3663a3e (diff)
add support for module search path as command line argument
protocol-native: move first data request into ack of stream creation improve mainloop API: return the number of dispatched sources on iterate() fix a resampling bug introduce network latency measurement WARNING: all these changes together may break some applications git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@189 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-def.h')
-rw-r--r--polyp/polyplib-def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/polyp/polyplib-def.h b/polyp/polyplib-def.h
index 067ebf89..176e1d3b 100644
--- a/polyp/polyplib-def.h
+++ b/polyp/polyplib-def.h
@@ -133,7 +133,8 @@ enum pa_subscription_event_type {
/** A structure for latency info. See pa_stream_get_latency(). The
* total latency a sample that is written with pa_stream_write() takes
- * to be played is buffer_usec+sink_usec. The buffer to which
+ * to be played may be estimated by
+ * buffer_usec+sink_usec+transport_usec. The buffer to which
* buffer_usec relates may be manipulated freely (with
* pa_stream_write()'s delta argument, pa_stream_flush() and friends),
* the playback buffer sink_usec relates to is a FIFO which cannot be
@@ -141,6 +142,7 @@ enum pa_subscription_event_type {
struct pa_latency_info {
pa_usec_t buffer_usec; /**< Time in usecs the current buffer takes to play */
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. */
};