sink, source: Assign to reference_volume from only one place 50/21950/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 7 Apr 2014 09:20:58 +0000 (12:20 +0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 May 2014 09:40:04 +0000 (12:40 +0300)
commit0b39389138cc4c2f3cfccf46d117f55e066f5a1b
treee390a6129bc0831be07b5ceb7ee3091ecdb8aab9
parent17f0bdf00c19798f8bee64d84042e70a788d723f
sink, source: Assign to reference_volume from only one place

Forcing all reference volume changes to go through
set_reference_volume_direct() makes it easier to check where the
reference volume is changed, and it also allows us to have only one
place where notifications for changed reference volume are sent.

Change-Id: I2e769b8a2b0d7031a02446dead8ca2e0c3402751
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
src/pulsecore/sink-input.c
src/pulsecore/sink.c
src/pulsecore/sink.h
src/pulsecore/source-output.c
src/pulsecore/source.c
src/pulsecore/source.h