mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-23 06:59:53 -05:00
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
This commit is contained in:
parent
14d93fce44
commit
3d81dde335
2 changed files with 176 additions and 56 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue