]> code.delx.au - pulseaudio/commit
sink, source: Assign to s->muted from only one place
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Tue, 15 Apr 2014 10:56:10 +0000 (13:56 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 2 May 2014 13:00:49 +0000 (16:00 +0300)
commite4a7625ba884c5cce20468d75937857343751c35
treefc1e3006882799306890952df38785a815f85eb7
parentdbd2a8f851437a79f62e992a52476056588c9780
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.
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