]> code.delx.au - pulseaudio/blobdiff - polyp/memblockq.h
Make the whole stuff LGPL only
[pulseaudio] / polyp / memblockq.h
index 277beb55f7b5f980c56579c849815312d16646aa..95e5c5330ce7f00a8b117635cac606b119c78eae 100644 (file)
@@ -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