From: Kyle Robbertze <paddatrapper@debian.org>
Date: Fri, 26 Sep 2025 09:50:00 +0100
Subject: Remove docs related to non-free optional dependencies

---
 docs/glasscoder.xml.in | 343 ++++---------------------------------------------
 1 file changed, 22 insertions(+), 321 deletions(-)

diff --git a/docs/glasscoder.xml.in b/docs/glasscoder.xml.in
index ccd8468..f3cddf8 100644
--- a/docs/glasscoder.xml.in
+++ b/docs/glasscoder.xml.in
@@ -90,7 +90,7 @@
       </term>
       <listitem>
 	<para>
-	  The number of audio channels to use.  Valid values are 
+	  The number of audio channels to use.  Valid values are
 	  <userinput>1</userinput> or <userinput>2</userinput>.
 	  Default value is <userinput>2</userinput>.
 	</para>
@@ -123,20 +123,6 @@
 	    </varlistentry>
 	  </variablelist>
 	</blockquote> <!-- remap='RE' -->
-	<blockquote remap='RS'>
-	  <variablelist remap='TP'>
-	    <varlistentry>
-	      <term>
-		<userinput>ASIHPI</userinput>
-	      </term>
-	      <listitem>
-		<para>
-		  AudioScience HPI.
-		</para>
-	      </listitem>
-	    </varlistentry>
-	  </variablelist>
-	</blockquote> <!-- remap='RE' -->
 	<blockquote remap='RS'>
 	  <variablelist remap='TP'>
 	    <varlistentry>
@@ -178,20 +164,6 @@
 	  <userinput>VORBIS</userinput>.  Valid	<replaceable>fmt</replaceable>
 	  values are:
 	</para>
-	<blockquote remap='RS'>
-	  <variablelist remap='TP'>
-	    <varlistentry>
-	      <term>
-		<userinput>AACP</userinput>
-	      </term>
-	      <listitem>
-		<para>
-		  MPEG-4 Advanced Audio Coding &quot;Plus&quot; (High Efficiency Profile)
-		</para>
-	      </listitem>
-	    </varlistentry>
-	  </variablelist>
-	</blockquote> <!-- remap='RE' -->
 	<blockquote remap='RS'>
 	  <variablelist remap='TP'>
 	    <varlistentry>
@@ -337,7 +309,7 @@ Password=&lt;password&gt;
       <listitem>
 	<para>
 	  Prepend <replaceable>string</replaceable> to messages sent to the
-	  <command>syslog</command> service (see the 
+	  <command>syslog</command> service (see the
 	  <option>--errors-to</option> option, below). Useful for
 	  disambiguating messages from multiple
 	  <command>glasscoder</command><manvolnum>1</manvolnum> instances.
@@ -529,7 +501,7 @@ Password=&lt;password&gt;
 	  Proxy Connections section of the
 	  <command>glasscoder-ipc</command><manvolnum>7</manvolnum> man page.
 	  The default is to create no UNIX socket. This setting is used only
-	  by the IceStreamer server. 
+	  by the IceStreamer server.
 	</para>
       </listitem>
     </varlistentry>
@@ -555,7 +527,7 @@ Password=&lt;password&gt;
 	<para>
 	  Run the command <replaceable>cmd</replaceable> when the connection
 	  enters the <computeroutput>connected</computeroutput> state.
-	</para>	
+	</para>
       </listitem>
     </varlistentry>
 
@@ -570,7 +542,7 @@ Password=&lt;password&gt;
 	  Used only by the IceStreamer server in conjunction with the
 	  <userinput>FILE</userinput> audio device. Default value is
 	  <userinput>0</userinput> --i.e. start the transport immediately.
-	</para>	
+	</para>
       </listitem>
     </varlistentry>
 
@@ -680,7 +652,7 @@ Password=&lt;password&gt;
 	</blockquote>
       </listitem>
     </varlistentry>
-    
+
     <varlistentry>
       <term>
 	<option>--server-url=</option><replaceable>url</replaceable>
@@ -774,7 +746,7 @@ Password=&lt;password&gt;
 	<para>
 	  The ICQ ID to associate with the stream.  There is no default value.
 	  This setting is used only by Shoutcast servers.
-	</para>	
+	</para>
       </listitem>
     </varlistentry>
 
@@ -824,7 +796,7 @@ Password=&lt;password&gt;
 	  The URL to show for a page giving more information about the stream.
 	  There is no default value.  This setting is used only by Icecast and
 	  Shoutcast servers, but is ignored by Shoutcast v2 servers.
-	</para>	
+	</para>
       </listitem>
     </varlistentry>
 
@@ -857,9 +829,9 @@ Password=&lt;password&gt;
 <variablelist remap='TP'>
   <varlistentry>
     <term>
-      <emphasis remap='B'>Advanced Linux Sound Architecture</emphasis> 
+      <emphasis remap='B'>Advanced Linux Sound Architecture</emphasis>
       (<option>--audio-device=</option><userinput>ALSA</userinput>)
-    </term>    
+    </term>
     <listitem>
       <variablelist>
 	<varlistentry>
@@ -878,285 +850,6 @@ Password=&lt;password&gt;
     </listitem>
   </varlistentry>
 
-  <varlistentry>
-    <term>
-      <emphasis remap='B'>AudioScience HPI</emphasis> 
-      (<option>--audio-device=</option><userinput>=ASIHPI</userinput>)
-    </term>
-    <listitem>
-      <variablelist>
-	<varlistentry>
-	  <term>
-	    <option>--asihpi-adapter-index=</option><replaceable>index</replaceable>
-	  </term>
-	  <listitem>
-	    <para>
-	      The index number of the audio adapter to use.
-	    </para>
-	  </listitem>
-	</varlistentry>
-	<varlistentry>
-	  <term>
-	    <option>--asihpi-input-index=</option><replaceable>index</replaceable>
-	  </term>
-	  <listitem>
-	    <para>
-	      The number of the input audio stream to use on the specified adapter.
-	    </para>
-	  </listitem>
-	</varlistentry>
-	<varlistentry>
-	  <term>
-	    <option>--asihpi-input-gain=</option><replaceable>gain</replaceable>
-	  </term>
-	  <listitem>
-	    <para>
-	      The gain to apply to the input audio on the specified adapter in
-	      dB. Valid values are <userinput>-100</userinput> to
-	      <userinput>+20</userinput> inclusive.  Default value is
-	      <userinput>0</userinput>.
-	    </para>
-	  </listitem>
-	</varlistentry>
-	<varlistentry>
-	  <term>
-	    <option>--asihpi-channel_mode=</option><replaceable>mode</replaceable>
-	  </term>
-	  <listitem>
-	    <para>
-	      The channel mode for the input audio on the specified adapter.
-	      The default value is <userinput>NORMAL</userinput>. Valid values
-	      are:
-	    </para>
-	    <blockquote remap='RS'>
-	      <variablelist remap='TP'>
-		<varlistentry>
-		  <term>
-		    <userinput>NORMAL</userinput>
-		  </term>
-		  <listitem>
-		    <para>
-		      Left signal goes to left channel, right signal goes to
-		      right channel.
-		    </para>
-		  </listitem>
-		</varlistentry>
-		<varlistentry>
-		  <term>
-		    <userinput>SWAP</userinput>
-		  </term>
-		  <listitem>
-		    <para>
-		    Left signal goes to right channel, right signal goes to
-		    left channel.
-		    </para>
-		  </listitem>
-		</varlistentry>
-		<varlistentry>
-		  <term>
-		    <userinput>LEFT</userinput>
-		  </term>
-		  <listitem>
-		    <para>
-		      Left signal goes to both left and right channels.
-		    </para>
-		  </listitem>
-		</varlistentry>
-		<varlistentry>
-		  <term>
-		    <userinput>RIGHT</userinput>
-		  </term>
-		  <listitem>
-		    <para>
-		      Right signal goes to both left and right channels.
-		    </para>
-		  </listitem>
-		</varlistentry>
-	      </variablelist>
-	    </blockquote> <!-- remap='RE' -->
-	  </listitem>
-	</varlistentry>
-	<varlistentry>
-	  <term>
-	  <option>--asihpi-input-source=</option><replaceable>src-node</replaceable>
-	  </term>
-	  <listitem>
-	    <para>
-	      The input source to use on the specified adapter.  See the
-	      <emphasis remap='B'>HPI Source Nodes</emphasis> section below
-	      for the list of valid <replaceable>src-node</replaceable>
-	      values. The default value is <userinput>LINEIN</userinput>.
-	    </para>
-	  </listitem>
-	</varlistentry>
-	<varlistentry>
-	  <term>
-	    <option>--asihpi-input-type=</option><replaceable>src-node</replaceable>
-	  </term>
-	  <listitem>
-	    <para>
-	      The input type to use on the specified adapter.  See the
-	      <emphasis remap='B'>HPI Source Nodes</emphasis> section below
-	      for the list of valid <replaceable>src-node</replaceable>
-	      values. The default value is <userinput>LINEIN</userinput>.
-	    </para>
-	  </listitem>
-	</varlistentry>
-	<varlistentry>
-	  <term>
-	    <emphasis remap='B'>HPI Source Nodes</emphasis>
-	  </term>
-	  <listitem>
-	    <para>
-	      The following values can used for the
-	      <option>--asihpi-input-source</option> and
-	      <option>--asihpi-input-type</option> options above:
-	    </para>
-	    <variablelist remap='TP'>
-	      <varlistentry>
-		<term>
-		  <userinput>NONE</userinput>
-		</term>
-		<term>
-		  <userinput>OSTREAM</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Internal output stream
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>LINEIN</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Generic input signal
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>AESEBU</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    AES3 digital input
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>TUNER</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Tuner
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>RF</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    RF input
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>CLOCK</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Clock source
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>BITSTREAM</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Raw bitstream
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>MIC</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Microphone
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>COBRANET</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    CobraNet
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>ANALOG</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Analog input
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>ADAPTER</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Adapter
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>RTP</userinput>
-		</term>
-		<term>
-		  <userinput>INTERNAL</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    Device internal
-		  </para>
-		</listitem>
-	      </varlistentry>
-	      <varlistentry>
-		<term>
-		  <userinput>AVB</userinput>
-		</term>
-		<listitem>
-		  <para>
-		    AVB input
-		  </para>
-		</listitem>
-	      </varlistentry>
-	    </variablelist>      
-	  </listitem>
-	</varlistentry>
-      </variablelist>
-    </listitem>
-  </varlistentry>
-
-
   <varlistentry>
     <term>
       <emphasis remap='B'>Direct File Streaming</emphasis>
@@ -1360,7 +1053,7 @@ Password=&lt;password&gt;
     <term>Description</term>
     <listitem>
       <para>
-	Specified by the 
+	Specified by the
 	<option>--stream-description</option> option.
       </para>
     </listitem>
@@ -1369,7 +1062,7 @@ Password=&lt;password&gt;
     <term>URL</term>
     <listitem>
       <para>
-	Should be a link to content related to the stream. Specified by the 
+	Should be a link to content related to the stream. Specified by the
 	<option>--stream-url</option> option.
       </para>
     </listitem>
@@ -1473,7 +1166,7 @@ Password=&lt;password&gt;
     <term>URL</term>
     <listitem>
       <para>
-	Should be a link to content related to the stream. Specified by the 
+	Should be a link to content related to the stream. Specified by the
 	<option>--stream-url</option> option.
       </para>
     </listitem>
@@ -1658,10 +1351,18 @@ Password=&lt;password&gt;
 </refsect2>
 </refsect1>
 
+<refsect1 id='notes'><title>Notes</title>
+<para>
+  The Debian version of GlassCoder does not support the MPEG-4 HE-AAC+
+  encoding, as it is non-free. The AudioScience HPI source device is
+  excluded for the same reason.
+</para>
+</refsect1>
+
 <refsect1 id='bugs'><title>Bugs</title>
 <para>
   Never use the <option>--server-auth</option> option; it allows credentials to
-  be seen by other users on the system. Use the 
+  be seen by other users on the system. Use the
   <option>--credentials-file</option> option to specify server credentials
   instead.
 </para>
