summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/play-memblockq.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-08-11 23:45:13 +0000
committerLennart Poettering <lennart@poettering.net>2007-08-11 23:45:13 +0000
commit3d81dde3355db7f5f61a06670dfd6610b723adad (patch)
tree4877fd7d6dc119d497defb92900ca895098eeb28 /src/pulsecore/play-memblockq.h
parent14d93fce4467b6fe4cfab8424e29a97521590c72 (diff)
modernize pa_play_memblockq() and add a new function pa_memblockq_sink_input_new() which allows creation of memblockq streams without activating them immediately
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1647 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/play-memblockq.h')
-rw-r--r--src/pulsecore/play-memblockq.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pulsecore/play-memblockq.h b/src/pulsecore/play-memblockq.h
index 8248e859..d8790316 100644
--- a/src/pulsecore/play-memblockq.h
+++ b/src/pulsecore/play-memblockq.h
@@ -27,6 +27,16 @@
#include <pulsecore/sink.h>
#include <pulsecore/memblockq.h>
+pa_sink_input* pa_memblockq_sink_input_new(
+ pa_sink *sink,
+ const char *name,
+ const pa_sample_spec *ss,
+ const pa_channel_map *map,
+ pa_memblockq *q,
+ pa_cvolume *volume);
+
+void pa_memblockq_sink_input_set_queue(pa_sink_input *i, pa_memblockq *q);
+
int pa_play_memblockq(
pa_sink *sink,
const char *name,