sink-input, source-output: Assign to volume from only one place 51/21951/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 7 Apr 2014 09:48:15 +0000 (12:48 +0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 May 2014 09:40:04 +0000 (12:40 +0300)
commite4da736074accc8eeb75c9cb7877a522d197b1c7
treef7cc19ddf28bee25bd667ee5874269ecb7f53c03
parent0b39389138cc4c2f3cfccf46d117f55e066f5a1b
sink-input, source-output: Assign to volume from only one place

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

Change-Id: Ie61bcc5747b419bb83c19a3ed78fd9f4d8a73cce
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
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