sink, source: Return early from set_mute() 52/21952/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 14 Apr 2014 11:03:24 +0000 (14:03 +0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 28 May 2014 09:40:04 +0000 (12:40 +0300)
commit75dee3a10b4ec91f8871c42625c09f842490cd18
treeb2a0b8e33be1ea7afef1c7289ae32314ed2735e3
parente4da736074accc8eeb75c9cb7877a522d197b1c7
sink, source: Return early from set_mute()

This avoids redundant set_mute() callback calls.

Some logging was added too.

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