sink, source: Assign to s->muted from only one place 57/21957/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 14 Apr 2014 11:52:16 +0000 (14:52 +0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 May 2014 09:40:04 +0000 (12:40 +0300)
commitb11cf7b5c1458ad0f35e67779867a7df548bb476
treea5c92b7ba7c16ac9d4a571fc065107233bea5d53
parent72f2a63fa7a1ddde55dfade5e749ea950754670a
sink, source: Assign to s->muted from only one place

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

Change-Id: Idb1bd6ef923a165e249d42265ebedc30a6c8fca4
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
src/modules/alsa/alsa-sink.c
src/modules/alsa/alsa-source.c
src/modules/module-solaris.c
src/pulsecore/sink.c
src/pulsecore/sink.h
src/pulsecore/source.c
src/pulsecore/source.h