summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/sink-input.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-07 01:37:42 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-07 01:37:42 +0000
commit9d7fde5fe33aeebf2b0047f63359d4b051c9579c (patch)
tree0567c2702c6214d367351ce193d7fea3219efb19 /src/pulsecore/sink-input.h
parent6c28f1d5b962192eaecb78c840377d2a2af05b77 (diff)
rework the rewinding logic once again, fixing
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2379 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/sink-input.h')
-rw-r--r--src/pulsecore/sink-input.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/sink-input.h b/src/pulsecore/sink-input.h
index b70cb0ac..8edd7ecb 100644
--- a/src/pulsecore/sink-input.h
+++ b/src/pulsecore/sink-input.h
@@ -156,8 +156,8 @@ struct pa_sink_input {
pa_memblockq *render_memblockq;
size_t rewrite_nbytes;
+ pa_bool_t rewrite_flush;
uint64_t underrun_for, playing_for;
- pa_bool_t ignore_rewind;
pa_sink_input *sync_prev, *sync_next;
@@ -241,7 +241,7 @@ fully -- or at all. If the request for a rewrite was successful, the
sink driver will call ->rewind() and pass the number of bytes that
could be rewound in the HW device. This functionality is required for
implementing the "zero latency" write-through functionality. */
-void pa_sink_input_request_rewind(pa_sink_input *i, size_t nbytes, pa_bool_t ignore_rewind, pa_bool_t not_here);
+void pa_sink_input_request_rewind(pa_sink_input *i, size_t nbytes, pa_bool_t rewrite, pa_bool_t flush);
/* Callable by everyone from main thread*/