diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-25 23:20:28 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-25 23:20:28 +0000 |
commit | 7d975345a555fc20e5019307c7dc01545552e42d (patch) | |
tree | 738c6340193a144b5b6d96915210fa355b851d1f /src/polypcore/memblockq.h | |
parent | b754d5095e8c1bbf41e7c0147dfb2328145a2c83 (diff) |
* add new API function pa_stream_get_buffer_attr().
* modify pacat.c to make use of that new API
* extend protocol to allow transfer of the necessary information
* update protocol version accordingly
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@976 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polypcore/memblockq.h')
-rw-r--r-- | src/polypcore/memblockq.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/polypcore/memblockq.h b/src/polypcore/memblockq.h index 302a5366..74fb00ee 100644 --- a/src/polypcore/memblockq.h +++ b/src/polypcore/memblockq.h @@ -131,4 +131,10 @@ void pa_memblockq_prebuf_disable(pa_memblockq *bq); /* Force prebuf */ void pa_memblockq_prebuf_force(pa_memblockq *bq); +/* Return the maximum length of the queue in bytes */ +size_t pa_memblockq_get_maxlength(pa_memblockq *bq); + +/* Return the prebuffer length in bytes */ +size_t pa_memblockq_get_prebuf(pa_memblockq *bq); + #endif |