X-Git-Url: https://code.delx.au/pulseaudio/blobdiff_plain/41295bbf56ef6df0a0e705149475d91c8d83ff3f..fa499dad06ba6558111cdef64c18f2401e803cff:/polyp/memblockq.h diff --git a/polyp/memblockq.h b/polyp/memblockq.h index 277beb55..95e5c533 100644 --- a/polyp/memblockq.h +++ b/polyp/memblockq.h @@ -7,7 +7,7 @@ This file is part of polypaudio. polypaudio is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published + it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. @@ -16,7 +16,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with polypaudio; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. @@ -83,10 +83,16 @@ uint32_t pa_memblockq_get_minreq(struct pa_memblockq *bq); /* Force disabling of pre-buf even when the pre-buffer is not yet filled */ void pa_memblockq_prebuf_disable(struct pa_memblockq *bq); +/* Reenable pre-buf to the initial level */ +void pa_memblockq_prebuf_reenable(struct pa_memblockq *bq); + /* Manipulate the write pointer */ void pa_memblockq_seek(struct pa_memblockq *bq, size_t delta); /* Flush the queue */ void pa_memblockq_flush(struct pa_memblockq *bq); +/* Get Target length */ +uint32_t pa_memblockq_get_tlength(struct pa_memblockq *bq); + #endif