Read mute state from sink_input.muted.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Wed, 21 May 2014 08:01:09 +0000 (11:01 +0300)
committerJaska Uimonen <jaska.uimonen@helsinki.fi>
Thu, 22 May 2014 12:23:52 +0000 (15:23 +0300)
Change-Id: If29c09aefccffab406fc1ef1f4f01ec24a7fcf37

murphy/stream-state.c

index 1517c39..986a7d1 100644 (file)
@@ -159,7 +159,7 @@ static void sink_input_block(struct userdata *u,
             sinp->flags |= flag_mask;
     }
 
-    muted = pa_sink_input_get_mute(sinp);
+    muted = sinp->muted;
     corked = (sinp->flags & PA_SINK_INPUT_START_CORKED);
 
     if (corked && !block)