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.
This commit is contained in:
Lennart Poettering 2010-02-21 17:35:05 +01:00
parent 3f1c90b9d7
commit ea29b11097
5 changed files with 31 additions and 19 deletions

View file

@ -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