]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
small edits to the man files
authorMike Brady <mikebrady@eircom.net>
Sun, 30 Jul 2017 08:04:38 +0000 (10:04 +0200)
committerMike Brady <mikebrady@eircom.net>
Sun, 30 Jul 2017 08:04:38 +0000 (10:04 +0200)
man/shairport-sync.7
man/shairport-sync.7.xml
man/shairport-sync.html

index 189e81b34ee56bd2f20da3d0fb4ed66818524163..9a3192e170f7460f67d4432280d057b15ca6cfbd 100644 (file)
@@ -2,7 +2,7 @@
 .SH NAME
 shairport-sync \- Synchronised Audio Player for iTunes / AirPlay
 .SH SYNOPSIS
-\fBshairport-sync [-djvw]\fB [-a \fB\fIname\fB]\fB [-A \fB\fIlatency\fB]\fB [-B \fB\fIcommand\fB]\fB [-c \fB\fIconfigurationfile\fB]\fB [-E \fB\fIcommand\fB]\fB [--get-cover-art]\fB [--logOutputLevel=]\fB [-L \fB\fIlatency\fB]\fB [-m \fB\fIbackend\fB]\fB [--meta-dir=\fB\fIdirectory\fB]\fB [-o \fB\fIbackend\fB]\fB [--password=\fB\fIsecret\fB]\fB [-r \fB\fIthreshold\fB]\fB [--statistics]\fB [-S \fB\fImode\fB]\fB [-t \fB\fItimeout\fB]\fB [--tolerance=\fB\fIframes\fB]\fB [-- \fB\fIaudio_backend_options\fB]\fB
+\fBshairport-sync [-djvw]\fB [-a \fB\fIname\fB]\fB [-A \fB\fIlatency\fB]\fB [-B \fB\fIcommand\fB]\fB [-c \fB\fIconfigurationfile\fB]\fB [-E \fB\fIcommand\fB]\fB [--get-cover-art]\fB [--logOutputLevel]\fB [-L \fB\fIlatency\fB]\fB [-m \fB\fIbackend\fB]\fB [--meta-dir=\fB\fIdirectory\fB]\fB [-o \fB\fIbackend\fB]\fB [--password=\fB\fIsecret\fB]\fB [-r \fB\fIthreshold\fB]\fB [--statistics]\fB [-S \fB\fImode\fB]\fB [-t \fB\fItimeout\fB]\fB [--tolerance=\fB\fIframes\fB]\fB [-- \fB\fIaudio_backend_options\fB]\fB
 
 shairport-sync -D\fB
 
@@ -27,7 +27,7 @@ You should use the configuration file for setting up shairport-sync. This file i
 
 (Note: Shairport Sync may have been compiled to use a different configuration directory. You can determine which by performing the command \fI$ shairport-sync -V\f1. One of the items in the output string is the value of the \fBsysconfdir\f1, i.e. the System Configuration Directory.)
 
-Settings are organised into groups, for example, there is a "general" group of standard settings, and there is an "alsa" group with settings that pertain to the ALSA back end. Here is an example of a typical configuration file:
+Within the configuraton file, settings are organised into groups, for example, there is a "general" group of standard settings, and there is an "alsa" group with settings that pertain to the ALSA back end. Here is an example of a typical configuration file:
 
 \fBgeneral = {\f1
 
@@ -37,6 +37,8 @@ Settings are organised into groups, for example, there is a "general" group of s
 
 \fBpassword = "secret";\f1
 
+\fBoutput_backend = "alsa";\f1
+
 \fB};\f1
 
 \fB\f1
@@ -152,11 +154,8 @@ These settings are for the ALSA back end, used to communicate with audio output
 \fBoutput_device=\f1\fI"output_device"\f1\fB;\f1
 Use the output device called \fIoutput_device\f1. The default is the device called \fI"default"\f1.
 .TP
-.TP
 \fBmixer_control_name=\f1\fI"name"\f1\fB;\f1
 Specify the \fIname\f1 of the mixer control to be used by shairport-sync to control the volume. The mixer control must be on the mixer device, which by default is the output device. If you do not specify a mixer control name, shairport-sync will adjust the volume in software.
-\fBmixer_type=\f1\fI"mixer_type"\f1\fB;\f1
-This setting is deprecated and is ignored. For your information, its functionality has been automatically incorporated in the \fBmixer_control_name\f1 setting -- if you specify a mixer name with the \fBmixer_control_name\f1 setting, it is assumed that the mixer is implemented in hardware.
 .TP
 \fBmixer_device=\f1\fI"mixer_device"\f1\fB;\f1
 By default, the mixer is assumed to be output_device. Use this setting to specify a device other than the output device.
@@ -187,10 +186,10 @@ Use this optional advanced setting to control whether MMAP-based output is used
 These settings are for the SNDIO back end, used to communicate with audio output devices in the SNDIO system.
 .TP
 \fBdevice=\f1\fI"snd/0"\f1\fB;\f1
-Use this optional setting to specify the name of the output device, e.g. \fI"snd/0"\f1.
+Use this optional setting to specify the name of the output device, e.g. \fI"snd/0"\f1. The default is to use the SNDIO system's default.
 .TP
 \fBrate=\f1\fI44100\f1\fB;\f1
-Use this optional setting to specify the output rate in frames per second. Valid rates are 44100, 88200, 176400 or 352800. The output device must have the capability to accept data at the specified rate. Default is 44100.
+Use this optional setting to specify the output rate in frames per second. Valid rates are 44100, 88200, 176400 or 352800. The output device must have the capability to accept data at the specified rate. The default is 44100.
 .TP
 \fBformat=\f1\fI"S16"\f1\fB;\f1
 Use this optional setting to specify the output format. Allowable values are "U8", "S8", "S16", "S24", "S24_3LE", "S24_3BE" or "S32". The device must have the capability to accept the format you specify.
@@ -211,7 +210,7 @@ Use this optional advanced setting to specify the buffer size of the SNDIO chann
 These settings are for the new PulseAudio backend.
 .TP
 \fBapplication_name=\f1\fI"Shairport Sync"\f1\fB;\f1
-Use this to set the name to appear in the Sounds "Applications" tab when Shairport Sync is active Default is "Shairport Sync".
+Use this to set the name to appear in the Sounds "Applications" tab when Shairport Sync is active. The default is the name "Shairport Sync".
 .TP
 \fB"PIPE" SETTINGS\f1
 These settings are for the PIPE backend, used to route audio to a named unix pipe. The audio is in raw CD audio format: PCM 16 bit little endian, 44,100 samples per second, interleaved stereo.
@@ -279,7 +278,9 @@ There are two kinds of command-line options for shairport-sync: regular \fBprogr
 These command-line options are used by shairport-sync itself.
 .TP
 \fB-a \f1\fIservice name\f1\fB | --name=\f1\fIservice name\f1
-Use this \fIservice name\f1 to identify this player in iTunes, etc. The following substitutions are allowed: \fB%h\f1 for the computer's hostname, \fB%H\f1 for the computer's hostname with the first letter capitalised (ASCII only), \fB%v\f1 for the shairport-sync version number, e.g. "3.0.1" and \fB%V\f1 for the shairport-sync version string, e.g. "3.0.1-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc".
+Use this \fIservice name\f1 to identify this player in iTunes, etc.
+
+The following substitutions are allowed: \fB%h\f1 for the computer's hostname, \fB%H\f1 for the computer's hostname with the first letter capitalised (ASCII only), \fB%v\f1 for the shairport-sync version number, e.g. "3.0.1" and \fB%V\f1 for the shairport-sync version string, e.g. "3.0.1-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc".
 
 The default is "%H", which is replaced by the hostname with the first letter capitalised.
 .TP
@@ -333,7 +334,7 @@ Listen for metadata coming from the source and send it, along with metadata from
 Force the use of the specified mDNS backend to advertise the player on the network. The default is to try all mDNS backends until one works. 
 .TP
 \fB-o \f1\fIoutputbackend\f1\fB | --output=\f1\fIoutputbackend\f1
-Force the use of the specified output backend to play the audio. The default is to try the first one. (This is not used at present.) 
+Force the use of the specified output backend to play the audio. The default is to try the first one. 
 .TP
 \fB-p \f1\fIport\f1\fB | --port=\f1\fIport\f1
 Listen for play requests on \fIport\f1. The default is to use port 5000. 
index 8dd38d683f7b8672c5bfbbe6c01c5e25ea6463d3..476a67c5b2d458ae5b13efab9617d1721a6374d1 100644 (file)
@@ -42,7 +42,7 @@
       <opt>[-c </opt><arg>configurationfile</arg><opt>]</opt>
       <opt>[-E </opt><arg>command</arg><opt>]</opt>
       <opt>[--get-cover-art]</opt>
-      <opt>[--logOutputLevel=]</opt>
+      <opt>[--logOutputLevel]</opt>
       <opt>[-L </opt><arg>latency</arg><opt>]</opt>
       <opt>[-m </opt><arg>backend</arg><opt>]</opt>
       <opt>[--meta-dir=</opt><arg>directory</arg><opt>]</opt>
@@ -88,7 +88,7 @@
          i.e. the System Configuration Directory.)</p>
          
          
-         <p>Settings are organised into <i>groups</i>, for example, there is a "general" group of
+         <p>Within the configuraton file, settings are organised into <i>groups</i>, for example, there is a "general" group of
          standard settings, and there is an "alsa" group with settings that pertain to the ALSA
          back end. Here is an example of a typical configuration file:</p>
          
@@ -96,6 +96,7 @@
     <p><p><opt>name = "Mike's Boombox";</opt></p></p>
     <p><p><opt>interpolation = "soxr";</opt></p></p>
     <p><p><opt>password = "secret";</opt></p></p>
+    <p><p><opt>output_backend = "alsa";</opt></p></p>
     <p><opt>};</opt></p>
     <p><opt></opt></p>
     <p><opt>alsa = {</opt></p>
     <optdesc><p>Use the output device called <arg>output_device</arg>. The default is the device called <arg>"default"</arg>.</p></optdesc>
     </option>
     <option>
-    <option>
     <p><opt>mixer_control_name=</opt><arg>"name"</arg><opt>;</opt></p>
     <optdesc><p>Specify the <arg>name</arg> of the mixer control to be used by shairport-sync to control the volume.
     The mixer control must be on the mixer device, which by default is the output device.
     If you do not specify a mixer control name, shairport-sync will adjust the volume in software.</p></optdesc>
-    </option>
-    <p><opt>mixer_type=</opt><arg>"mixer_type"</arg><opt>;</opt></p>
-    <optdesc><p>This setting is deprecated and is ignored. For your information, its functionality has been automatically incorporated in the <opt>mixer_control_name</opt> setting
-  -- if you specify a mixer name with the <opt>mixer_control_name</opt> setting, it is assumed that the mixer is implemented in hardware.</p></optdesc>
     </option>
     <option>
     <p><opt>mixer_device=</opt><arg>"mixer_device"</arg><opt>;</opt></p>
     </option>
     <option>
     <p><opt>use_mmap_if_available=</opt><arg>"yes"</arg><opt>;</opt></p>
-    <optdesc><p> Use this optional advanced setting to control whether MMAP-based output is used to communicate  with the DAC. Default is <arg>"yes"</arg>.</p></optdesc>
+    <optdesc><p> Use this optional advanced setting to control whether MMAP-based output is used to communicate with the DAC. Default is <arg>"yes"</arg>.</p></optdesc>
     </option>
 
 
      <p>These settings are for the SNDIO back end, used to communicate with audio output devices in the SNDIO system.</p>
     <option>
     <p><opt>device=</opt><arg>"snd/0"</arg><opt>;</opt></p>
-    <optdesc><p>Use this optional setting to specify the name of the output device, e.g. <arg>"snd/0"</arg>.</p></optdesc>
+    <optdesc><p>Use this optional setting to specify the name of the output device, e.g. <arg>"snd/0"</arg>. The default is to use the SNDIO system's default.</p></optdesc>
     </option>
     <option>
     <p><opt>rate=</opt><arg>44100</arg><opt>;</opt></p>
     <optdesc><p>Use this optional setting to specify the output rate in frames per second. Valid rates are 44100, 88200, 176400 or 352800.
-    The output device must have the capability to accept data at the specified rate. Default is 44100.</p></optdesc>
+    The output device must have the capability to accept data at the specified rate. The default is 44100.</p></optdesc>
     </option>
     <option>
     <p><opt>format=</opt><arg>"S16"</arg><opt>;</opt></p>
     <p>These settings are for the new PulseAudio backend.</p>
     <option>
     <p><opt>application_name=</opt><arg>"Shairport Sync"</arg><opt>;</opt></p>
-    <optdesc><p>Use this to set the name to appear in the Sounds "Applications" tab when Shairport Sync is active Default is "Shairport Sync".</p></optdesc>
+    <optdesc><p>Use this to set the name to appear in the Sounds "Applications" tab when Shairport Sync is active. The default is the name "Shairport Sync".</p></optdesc>
     </option>
 
     <option><p><opt>"PIPE" SETTINGS</opt></p></option>
          <option>
                <p><opt>-a </opt><arg>service name</arg><opt> | --name=</opt><arg>service name</arg></p>
                <optdesc><p>
-               Use this <arg>service name</arg> to identify this player in iTunes, etc.
+               Use this <arg>service name</arg> to identify this player in iTunes, etc.</p>
                
                <p>The following substitutions are allowed:
                <opt>%h</opt> for the computer's hostname,
                <opt>%v</opt> for the shairport-sync version number, e.g. "3.0.1" and
                <opt>%V</opt> for the shairport-sync version string, e.g. "3.0.1-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc".</p> 
     <p>The default is "%H", which is replaced by the hostname with the first letter capitalised.</p>
-    </p></optdesc>
+    </optdesc>
          </option>
 
          <option>
                <p><opt>-o </opt><arg>outputbackend</arg><opt> | --output=</opt><arg>outputbackend</arg></p>
                <optdesc><p>
                Force the use of the specified output backend to play the audio.
-    The default is to try the first one. (This is not used at
-    present.)
+    The default is to try the first one.
                </p></optdesc>
          </option>
 
index 5f3534a1a9f588702afbd1fb61eb363e0dd4c37c..9a7055afc770521f102f2ee40586c9b5c5272e44 100644 (file)
@@ -13,7 +13,7 @@
       <b>[-c </b><em>configurationfile</em><b>]</b>
       <b>[-E </b><em>command</em><b>]</b>
       <b>[--get-cover-art]</b>
-      <b>[--logOutputLevel=]</b>
+      <b>[--logOutputLevel]</b>
       <b>[-L </b><em>latency</em><b>]</b>
       <b>[-m </b><em>backend</em><b>]</b>
       <b>[--meta-dir=</b><em>directory</em><b>]</b>
@@ -69,7 +69,7 @@
          i.e. the System Configuration Directory.)</p>
          
          
-         <p>Settings are organised into groups, for example, there is a &quot;general&quot; group of
+         <p>Within the configuraton file, settings are organised into groups, for example, there is a &quot;general&quot; group of
          standard settings, and there is an &quot;alsa&quot; group with settings that pertain to the ALSA
          back end. Here is an example of a typical configuration file:</p>
          
@@ -77,6 +77,7 @@
     <p><p><b>name = &quot;Mike's Boombox&quot;;</b></p></p>
     <p><p><b>interpolation = &quot;soxr&quot;;</b></p></p>
     <p><p><b>password = &quot;secret&quot;;</b></p></p>
+    <p><p><b>output_backend = &quot;alsa&quot;;</b></p></p>
     <p><b>};</b></p>
     <p><b></b></p>
     <p><b>alsa = {</b></p>
     <p>Use the output device called <em>output_device</em>. The default is the device called <em>&quot;default&quot;</em>.</p>
     
     
-    
     <p><b>mixer_control_name=</b><em>&quot;name&quot;</em><b>;</b></p>
     <p>Specify the <em>name</em> of the mixer control to be used by shairport-sync to control the volume.
     The mixer control must be on the mixer device, which by default is the output device.
     If you do not specify a mixer control name, shairport-sync will adjust the volume in software.</p>
     
-    <p><b>mixer_type=</b><em>&quot;mixer_type&quot;</em><b>;</b></p>
-    <p>This setting is deprecated and is ignored. For your information, its functionality has been automatically incorporated in the <b>mixer_control_name</b> setting
-  -- if you specify a mixer name with the <b>mixer_control_name</b> setting, it is assumed that the mixer is implemented in hardware.</p>
-    
     
     <p><b>mixer_device=</b><em>&quot;mixer_device&quot;</em><b>;</b></p>
     <p>By default, the mixer is assumed to be output_device. Use this setting to specify a device other than the output device.</p>
     
     
     <p><b>use_mmap_if_available=</b><em>&quot;yes&quot;</em><b>;</b></p>
-    <p> Use this optional advanced setting to control whether MMAP-based output is used to communicate  with the DAC. Default is <em>&quot;yes&quot;</em>.</p>
+    <p> Use this optional advanced setting to control whether MMAP-based output is used to communicate with the DAC. Default is <em>&quot;yes&quot;</em>.</p>
     
 
 
      <p>These settings are for the SNDIO back end, used to communicate with audio output devices in the SNDIO system.</p>
     
     <p><b>device=</b><em>&quot;snd/0&quot;</em><b>;</b></p>
-    <p>Use this optional setting to specify the name of the output device, e.g. <em>&quot;snd/0&quot;</em>.</p>
+    <p>Use this optional setting to specify the name of the output device, e.g. <em>&quot;snd/0&quot;</em>. The default is to use the SNDIO system's default.</p>
     
     
     <p><b>rate=</b><em>44100</em><b>;</b></p>
     <p>Use this optional setting to specify the output rate in frames per second. Valid rates are 44100, 88200, 176400 or 352800.
-    The output device must have the capability to accept data at the specified rate. Default is 44100.</p>
+    The output device must have the capability to accept data at the specified rate. The default is 44100.</p>
     
     
     <p><b>format=</b><em>&quot;S16&quot;</em><b>;</b></p>
     <p>These settings are for the new PulseAudio backend.</p>
     
     <p><b>application_name=</b><em>&quot;Shairport Sync&quot;</em><b>;</b></p>
-    <p>Use this to set the name to appear in the Sounds &quot;Applications&quot; tab when Shairport Sync is active Default is &quot;Shairport Sync&quot;.</p>
+    <p>Use this to set the name to appear in the Sounds &quot;Applications&quot; tab when Shairport Sync is active. The default is the name &quot;Shairport Sync&quot;.</p>
     
 
     <p><b>&quot;PIPE&quot; SETTINGS</b></p>
          
                <p><b>-a </b><em>service name</em><b> | --name=</b><em>service name</em></p>
                <p>
-               Use this <em>service name</em> to identify this player in iTunes, etc.
+               Use this <em>service name</em> to identify this player in iTunes, etc.</p>
                
                <p>The following substitutions are allowed:
                <b>%h</b> for the computer's hostname,
                <b>%v</b> for the shairport-sync version number, e.g. &quot;3.0.1&quot; and
                <b>%V</b> for the shairport-sync version string, e.g. &quot;3.0.1-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc&quot;.</p> 
     <p>The default is &quot;%H&quot;, which is replaced by the hostname with the first letter capitalised.</p>
-    </p>
+    
          
 
          
                <p><b>-o </b><em>outputbackend</em><b> | --output=</b><em>outputbackend</em></p>
                <p>
                Force the use of the specified output backend to play the audio.
-    The default is to try the first one. (This is not used at
-    present.)
+    The default is to try the first one.
                </p>