<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sharpfin.org/index.php?action=history&amp;feed=atom&amp;title=Mute</id>
	<title>Mute - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sharpfin.org/index.php?action=history&amp;feed=atom&amp;title=Mute"/>
	<link rel="alternate" type="text/html" href="https://www.sharpfin.org/index.php?title=Mute&amp;action=history"/>
	<updated>2026-04-23T14:52:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.4</generator>
	<entry>
		<id>https://www.sharpfin.org/index.php?title=Mute&amp;diff=140&amp;oldid=prev</id>
		<title>Philipp: Created page with &quot;== Overview ==  The Libreciva mute function controls the radio&#039;s mute state.  In order to use the library function, you must include the header file:  &lt;pre&gt; #include &quot;mute.h&quot; &lt;/pre&gt;  === void mute_set(enum smute_e_state state) ===  This function changes the radio&#039;s mute state.  The passed parameter is either:  * SMUTE_ON * SMUTE_OFF  It is recommended that this function is called when the radio application first starts.  === enum smute_e_state mute_get() ===  This fu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sharpfin.org/index.php?title=Mute&amp;diff=140&amp;oldid=prev"/>
		<updated>2025-06-08T11:40:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview ==  The &lt;a href=&quot;/index.php?title=Libreciva&quot; title=&quot;Libreciva&quot;&gt;Libreciva&lt;/a&gt; mute function controls the radio&amp;#039;s mute state.  In order to use the library function, you must include the header file:  &amp;lt;pre&amp;gt; #include &amp;quot;mute.h&amp;quot; &amp;lt;/pre&amp;gt;  === void mute_set(enum smute_e_state state) ===  This function changes the radio&amp;#039;s mute state.  The passed parameter is either:  * SMUTE_ON * SMUTE_OFF  It is recommended that this function is called when the radio application first starts.  === enum smute_e_state mute_get() ===  This fu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
The [[Libreciva]] mute function controls the radio&amp;#039;s mute state.&lt;br /&gt;
&lt;br /&gt;
In order to use the library function, you must include the header file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;mute.h&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== void mute_set(enum smute_e_state state) ===&lt;br /&gt;
&lt;br /&gt;
This function changes the radio&amp;#039;s mute state.  The passed parameter is either:&lt;br /&gt;
&lt;br /&gt;
* SMUTE_ON&lt;br /&gt;
* SMUTE_OFF&lt;br /&gt;
&lt;br /&gt;
It is recommended that this function is called when the radio application first starts.&lt;br /&gt;
&lt;br /&gt;
=== enum smute_e_state mute_get() ===&lt;br /&gt;
&lt;br /&gt;
This function gets the current mute state.  Note that this function will only produce an accurate response if mute_set() has been previously called.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;quot;mute.h&amp;quot;&lt;br /&gt;
#include &amp;lt;string.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
main(int argc, char *argv[])&lt;br /&gt;
{&lt;br /&gt;
  if (argc==2 &amp;amp;&amp;amp; strcmp(argv[1],&amp;quot;on&amp;quot;)==0) {&lt;br /&gt;
    mute_set(SMUTE_ON);&lt;br /&gt;
  } else if (argc==2 &amp;amp;&amp;amp; strcmp(argv[1],&amp;quot;off&amp;quot;)==0) {&lt;br /&gt;
    mute_set(SMUTE_OFF);&lt;br /&gt;
  } else {&lt;br /&gt;
    printf(&amp;quot;mutectl on|off&lt;br /&gt;
&amp;quot;);&lt;br /&gt;
    return;&lt;br /&gt;
  }&lt;br /&gt;
  printf(&amp;quot;Mute state is %d&lt;br /&gt;
&amp;quot;, mute_get());&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philipp</name></author>
	</entry>
</feed>