summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/play-memchunk.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-21 17:35:05 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-21 17:36:52 +0100
commitf9b9579cf4fe65d3619629b5bc28ce02ceca305e (patch)
tree8bb80388b12864d0d90dae39fd3706214fa0d514 /src/pulsecore/play-memchunk.h
parent180589511dab1b5d0388b58b41a0e9843ea1a35a (diff)
scache: when playing a sample from the cache make sure not queue them up when the sink is suspended
libcanberra already sets the appropriate flags for uncached sample streams, we now need to make sure to set them for cached samples too.
Diffstat (limited to 'src/pulsecore/play-memchunk.h')
-rw-r--r--src/pulsecore/play-memchunk.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/pulsecore/play-memchunk.h b/src/pulsecore/play-memchunk.h
index c813611e..068add1f 100644
--- a/src/pulsecore/play-memchunk.h
+++ b/src/pulsecore/play-memchunk.h
@@ -26,12 +26,13 @@
#include <pulsecore/memchunk.h>
int pa_play_memchunk(
- pa_sink *sink,
- const pa_sample_spec *ss,
- const pa_channel_map *map,
- const pa_memchunk *chunk,
- pa_cvolume *cvolume,
- pa_proplist *p,
- uint32_t *sink_input_index);
+ pa_sink *sink,
+ const pa_sample_spec *ss,
+ const pa_channel_map *map,
+ const pa_memchunk *chunk,
+ pa_cvolume *cvolume,
+ pa_proplist *p,
+ pa_sink_input_flags_t flags,
+ uint32_t *sink_input_index);
#endif