sink, source: Don't change suspend cause when unlinking
authorTanu Kaskinen <tanuk@iki.fi>
Mon, 10 Jun 2019 11:18:47 +0000 (14:18 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 10 Jun 2019 11:21:59 +0000 (14:21 +0300)
commit7fb85e0a5bfdec339fda9f7584f65cf9ddbd50a1
tree6454851f5f1c2457d3c0f951440d7bc30b143f69
parent6b1719d0ed100ce5a65f28c3c4d4f3b59f3f56a0
sink, source: Don't change suspend cause when unlinking

See the added comments for why this is necessary.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/667
src/pulsecore/sink.c
src/pulsecore/source.c