From: Martin Mares Date: Wed, 6 May 2020 20:35:53 +0000 (+0200) Subject: Disabled camera mic mute, because the camera or the driver are buggy X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=af09fd93b5051a6349751f0c1715ca3cce9daf2f;p=ursary.git Disabled camera mic mute, because the camera or the driver are buggy --- diff --git a/ursaryd.c b/ursaryd.c index 9d40023..4441496 100644 --- a/ursaryd.c +++ b/ursaryd.c @@ -376,11 +376,13 @@ static void update_source_buttons(void) if (!source) return; +#if 0 // Disabled for now // if (source->suspended || source->mute) if (source->mute) noct_set_button(2, 0); else noct_set_button(2, 1); +#endif } static void update_source_mute_from_button(int on, const char *source_name) @@ -392,8 +394,10 @@ static void update_source_mute_from_button(int on, const char *source_name) if (!s) return; +#if 0 DBG("## Setting mute of source %s to %d", s->name, !s->mute); pulse_source_set_mute(s->idx, !s->mute); +#endif } /*** MPD controls ***/