call-display: Only mute the microphone with the Mute button
Don't mute the sink (the codec speaker feed), only mute the source (the microphone feed). Fixes #112
This commit is contained in:
@@ -490,14 +490,6 @@ ugly_mute_pressed_cb (CallsCallDisplay *self,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
ok = ugly_pa_mute ("sink", UGLY_SINK, want_mute);
|
|
||||||
if (!ok)
|
|
||||||
{
|
|
||||||
/* Stop other handlers */
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Continue with other handlers */
|
/* Continue with other handlers */
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user