summaryrefslogtreecommitdiff
path: root/src/pulsecore/sink.h
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2016-03-10 19:18:48 +0200
committerTanu Kaskinen <tanuk@iki.fi>2016-04-25 13:47:08 +0300
commit0b6e4694a5a421cfc9eff0c0d259e46dc007f6b0 (patch)
tree8b6a4e9126eb6b81ee08f697b8d5869d1baa35d3 /src/pulsecore/sink.h
parent26d5b6d199b66028ee10187da50d78303ce8d36e (diff)
downloadpulseaudio-0b6e4694a5a421cfc9eff0c0d259e46dc007f6b0.tar.gz
echo-cancel: rework move handling
When autoloaded, module-echo-cancel doesn't support moving the sink input and source output that it creates, but the move prevention was implemented by manually requesting module unloading in the middle of the stream move procedure, rather than by just setting the DONT_MOVE flags. This patch removes the module unloading code from the moving() callbacks and adds the DONT_MOVE flags. In addition to saving some code, this also prevents problems related to trying to move streams connected to the echo cancel sink or source while the echo cancel sink or source is in the middle of a move too (a crash will happen in such situation, as demonstrated in https://bugs.freedesktop.org/show_bug.cgi?id=93443).
Diffstat (limited to 'src/pulsecore/sink.h')
0 files changed, 0 insertions, 0 deletions