refactor stream attaching/detaching
authorTanu Kaskinen <tanuk@iki.fi>
Wed, 7 Dec 2016 23:59:05 +0000 (01:59 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 19 Dec 2016 23:39:42 +0000 (01:39 +0200)
commitf82523988788a9f21a057243dd6790bf62155ae8
tree0820d02db200bcda38f6e2a188b9786ca7cb4251
parentd404d8d1abc7c92d62e3edf27dd36fac882852ca
refactor stream attaching/detaching

Move repetitive code into convenience functions. No changes in
behaviour.
src/pulsecore/sink-input.c
src/pulsecore/sink-input.h
src/pulsecore/sink.c
src/pulsecore/source-output.c
src/pulsecore/source-output.h
src/pulsecore/source.c