[pulseaudio-commits] r2539 - in /trunk/src/pulsecore: memblockq.c memblockq.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Jun 16 12:01:09 PDT 2008


Author: lennart
Date: Mon Jun 16 21:01:09 2008
New Revision: 2539

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2539&root=pulseaudio&view=rev
Log:
add pa_memblockq_get_base()

Modified:
    trunk/src/pulsecore/memblockq.c
    trunk/src/pulsecore/memblockq.h

Modified: trunk/src/pulsecore/memblockq.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/memblockq.c?rev=2539&root=pulseaudio&r1=2538&r2=2539&view=diff
==============================================================================
--- trunk/src/pulsecore/memblockq.c (original)
+++ trunk/src/pulsecore/memblockq.c Mon Jun 16 21:01:09 2008
@@ -908,3 +908,9 @@
 
     return bq->n_blocks;
 }
+
+size_t pa_memblockq_get_base(pa_memblockq *bq) {
+    pa_assert(bq);
+
+    return bq->base;
+}

Modified: trunk/src/pulsecore/memblockq.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/memblockq.h?rev=2539&root=pulseaudio&r1=2538&r2=2539&view=diff
==============================================================================
--- trunk/src/pulsecore/memblockq.h (original)
+++ trunk/src/pulsecore/memblockq.h Mon Jun 16 21:01:09 2008
@@ -169,4 +169,6 @@
 
 unsigned pa_memblockq_get_nblocks(pa_memblockq *bq);
 
+size_t pa_memblockq_get_base(pa_memblockq *bq);
+
 #endif




More information about the pulseaudio-commits mailing list