virtual sources: Propagate asyncmsgq change after source-output move
authorGeorg Chini <georg@chini.tk>
Mon, 13 Jan 2020 19:40:04 +0000 (20:40 +0100)
committerGeorg Chini <georg@chini.tk>
Mon, 13 Jan 2020 19:40:04 +0000 (20:40 +0100)
commit051f7508b4a99f4908d04364c39faf010ca00908
tree9d45cac01266cca3f5a63253d5e7b725987e01db
parentf5d3606fe76302c7dbdb0f6a80400df829a5f846
virtual sources: Propagate asyncmsgq change after source-output move

Currently, when the master of a virtual source is moved, the change of the
asyncmsgq is not propagated to other attached virtual sources. This leads
to a crash when the original master source is no longer available.

This patch fixes the issue by modifying the moving callback to propagate the
change to attached virtual sources.

Virtual sinks show a similar bug but that will be fixed in a different patch
series.
src/modules/echo-cancel/module-echo-cancel.c
src/modules/module-remap-source.c
src/modules/module-virtual-source.c