diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-18 01:33:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-18 01:33:04 +0100 |
commit | 84782f24c5f43456430c796bd12f9face24f0573 (patch) | |
tree | 984295c0a0b7b4223e9c3dc86eaf20e14cc49977 /src/pulsecore/memblockq.h | |
parent | 52c66b47664d47154b2c8368e32beef27d4b2d03 (diff) |
native: rework handling of seeks that depend on variables the client does not know anything about
All seeks/flushes that depend on the playback buffer read pointer cannot
be accounted for properly in the client since it does not know the
actual read pointer. Due to that the clients do not account for it at
all. We need do the same on the server side. And we did, but a little
bit too extreme. While we properly have not applied the changes to the
"request" counter we still do have to apply it to the "missing" counter.
This patch fixes that.
Diffstat (limited to 'src/pulsecore/memblockq.h')
-rw-r--r-- | src/pulsecore/memblockq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/memblockq.h b/src/pulsecore/memblockq.h index 587c364b..6132f31b 100644 --- a/src/pulsecore/memblockq.h +++ b/src/pulsecore/memblockq.h @@ -118,7 +118,7 @@ size_t pa_memblockq_pop_missing(pa_memblockq *bq); int pa_memblockq_splice(pa_memblockq *bq, pa_memblockq *source); /* Set the queue to silence, set write index to read index */ -void pa_memblockq_flush_write(pa_memblockq *bq); +void pa_memblockq_flush_write(pa_memblockq *bq, pa_bool_t account); /* Set the queue to silence, set write read index to write index*/ void pa_memblockq_flush_read(pa_memblockq *bq); |