summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/play-memblockq.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:48:55 +0100
commitea29b11097b9d4180582924ca5df142fae4b6400 (patch)
treeccaad1b2b94adc9a27b454ca863ba53af5dcab48 /src/pulsecore/play-memblockq.h
parent3f1c90b9d7fa434ae90b45018255d086b0fa6e8a (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-memblockq.h')
-rw-r--r--src/pulsecore/play-memblockq.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/pulsecore/play-memblockq.h b/src/pulsecore/play-memblockq.h
index 9d5f40fd..a55fed0d 100644
--- a/src/pulsecore/play-memblockq.h
+++ b/src/pulsecore/play-memblockq.h
@@ -31,17 +31,19 @@ pa_sink_input* pa_memblockq_sink_input_new(
const pa_channel_map *map,
pa_memblockq *q,
pa_cvolume *volume,
- pa_proplist *p);
+ pa_proplist *p,
+ pa_sink_input_flags_t flags);
void pa_memblockq_sink_input_set_queue(pa_sink_input *i, pa_memblockq *q);
int pa_play_memblockq(
- pa_sink *sink,
- const pa_sample_spec *ss,
- const pa_channel_map *map,
- pa_memblockq *q,
- pa_cvolume *cvolume,
- pa_proplist *p,
- uint32_t *sink_input_index);
+ pa_sink *sink,
+ const pa_sample_spec *ss,
+ const pa_channel_map *map,
+ pa_memblockq *q,
+ pa_cvolume *cvolume,
+ pa_proplist *p,
+ pa_sink_input_flags_t flags,
+ uint32_t *sink_input_index);
#endif