summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-internal.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-01-10 12:45:11 +0000
committerPierre Ossman <ossman@cendio.se>2006-01-10 12:45:11 +0000
commit1015ea42413eb14b1a027a665df6af12344d097d (patch)
tree9ead6ea08c5df941a5c3d3308faed7ffc7c5da67 /polyp/polyplib-internal.h
parentd429222476ce224a86428f8d0527e61a672edf2b (diff)
Store previous reported time in order to assure a monotonic clock.
This is a resurrection of a feature previously removed. The new version is without the race condition of the original one. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@442 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-internal.h')
-rw-r--r--polyp/polyplib-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/polyplib-internal.h b/polyp/polyplib-internal.h
index 9417430f..8677c813 100644
--- a/polyp/polyplib-internal.h
+++ b/polyp/polyplib-internal.h
@@ -92,6 +92,8 @@ struct pa_stream {
enum pa_stream_direction direction;
uint32_t requested_bytes;
uint64_t counter;
+ pa_usec_t previous_time;
+ pa_usec_t previous_ipol_time;
enum pa_stream_state state;
struct pa_mcalign *mcalign;