]> code.delx.au - pulseaudio/commit
sink, source: Propagate flag changes to filters
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 28 Mar 2013 15:30:14 +0000 (17:30 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 10 Apr 2013 13:29:57 +0000 (16:29 +0300)
commit6745b1f97020fca84f6a55a87da8bb38f5b270ac
tree7da0ad3734321f3c3d2257c926fccf400bd19bfd
parentd646d931dc52e21266687cc748961fe2323f4467
sink, source: Propagate flag changes to filters

An example: let's say that there's an alsa sink and two filter sinks
on top of each other:

        alsa-sink <- filter1 <- filter2

With the old code, if filter1 gets moved to another sink, and the
new sink doesn't have the LATENCY and DYNAMIC_LATENCY flags set
(unlike alsa-sink), filter1's flags are updated fine in the moving()
callback, but filter2 is not notified at all about the flag changes.
With this patch, the flag changes are propagated to filter2 too.
src/pulsecore/sink.c
src/pulsecore/source.c