From 9d7fde5fe33aeebf2b0047f63359d4b051c9579c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 May 2008 01:37:42 +0000 Subject: 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 --- src/pulsecore/sink-input.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pulsecore/sink-input.h') 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*/ -- cgit