mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
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:
parent
3f1c90b9d7
commit
ea29b11097
5 changed files with 31 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue