]> mj.ucw.cz Git - ursary.git/commitdiff
Disabled camera mic mute, because the camera or the driver are buggy
authorMartin Mares <mj@ucw.cz>
Wed, 6 May 2020 20:35:53 +0000 (22:35 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 6 May 2020 20:35:53 +0000 (22:35 +0200)
ursaryd.c

index 9d400233cc314c8daca05ce0d699775a781a7687..444149620bf9c401ef032ad66d09647987c050b1 100644 (file)
--- 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 ***/