From ea29b11097b9d4180582924ca5df142fae4b6400 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 21 Feb 2010 17:35:05 +0100 Subject: 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. --- src/pulsecore/play-memchunk.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/pulsecore/play-memchunk.h') 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 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 -- cgit