Skip to content

Commit

Permalink
Fix a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Dec 23, 2014
1 parent 542204e commit 797644a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion man/shairport-sync.7
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you want shairport-sync to wait until the command has completed before contin
Print brief help message and exit.
.TP
\fB-i | --iTunesLatency=\f1\fIlatency\f1
Use this \fIlatency\f1, in frames, for audio streamed from an iTunes source, where iTunes is Version 10 or later. The default is 99,400 frames, where there are 44,100 frames to the second. If the source is iTunes but is earler than Version 10, the \fIdefault latency\f1 is used (see the \fB-L\f1 option). Some third party programs masquerade as old version of iTunes.
Use this \fIlatency\f1, in frames, for audio streamed from an iTunes source, where iTunes is Version 10 or later. The default is 99,400 frames, where there are 44,100 frames to the second. If the source is iTunes but is earler than Version 10, the \fIdefault latency\f1 is used (see the \fB-L\f1 option). Some third party programs masquerade as older versions of iTunes.
.TP
\fB-k | --kill\f1
Kill the shairport-sync daemon and exit. (Requires that the daemon has written its PID to an agreed file -- see the \fB-d\f1 option).
Expand Down
2 changes: 1 addition & 1 deletion man/shairport-sync.7.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<optdesc><p>
Use this <arg>latency</arg>, in frames, for audio streamed from an iTunes
source, where iTunes is Version 10 or later. The default is 99,400 frames, where there are 44,100
frames to the second. If the source is iTunes but is earler than Version 10, the <arg>default latency</arg> is used (see the <opt>-L</opt> option). Some third party programs masquerade as old version of iTunes.
frames to the second. If the source is iTunes but is earler than Version 10, the <arg>default latency</arg> is used (see the <opt>-L</opt> option). Some third party programs masquerade as older versions of iTunes.
</p></optdesc>
</option>

Expand Down
2 changes: 1 addition & 1 deletion man/shairport-sync.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h2>Program Options</h2>
<p>
Use this <em>latency</em>, in frames, for audio streamed from an iTunes
source, where iTunes is Version 10 or later. The default is 99,400 frames, where there are 44,100
frames to the second. If the source is iTunes but is earler than Version 10, the <em>default latency</em> is used (see the <b>-L</b> option). Some third party programs masquerade as old version of iTunes.
frames to the second. If the source is iTunes but is earler than Version 10, the <em>default latency</em> is used (see the <b>-L</b> option). Some third party programs masquerade as older versions of iTunes.
</p>


Expand Down
13 changes: 6 additions & 7 deletions shairport.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,12 @@ void usage(char *progname) {
printf(" -v, --verbose -v print debug information; -vv more; -vvv lots\n");
printf(" -p, --port=PORT set RTSP listening port\n");
printf(" -a, --name=NAME set advertised name\n");
printf(" -A, --AirPlayLatency=FRAMES set how many frames between a just-received frame and audio output\n");
printf(" if the source's User Agent is \"AirPlay\". The default value is %u frames.\n", config.AirPlayLatency);
printf(" -i, --iTunesLatency=FRAMES set how many frames between a just-received frame and audio output\n");
printf(" if the source's User Agent is \"iTunes\". The default value is %u frames.\n", config.iTunesLatency);
printf(" -L, --latency=FRAMES set how many frames between a just-received frame and audio output\n");
printf(" starts. This value is in frames; if non-zero overrides all other latencies.\n");
printf(" Default latency without \"AirPlay\" or \"iTunes\" User Agent is %u frames.\n", config.AirPlayLatency);
printf(" -A, --AirPlayLatency=FRAMES set the latency for audio sent from an AirPlay device.\n");
printf(" The default value is %u frames.\n", config.AirPlayLatency);
printf(" -i, --iTunesLatency=FRAMES set the latency for audio sent from iTunes 10 or later. \n");
printf(" The default value is %u frames.\n", config.iTunesLatency);
printf(" -L, --latency=FRAMES set the latency for audio sent from an unknown device\n");
printf(" or from an old version of iTunes. Default is %d frames.\n",config.latency);
printf(" -S, --stuffing=MODE set how to adjust current latency to match desired latency \n");
printf(" \"basic\" (default) inserts or deletes audio frames from packet frames with low processor overhead.\n");
printf(" \"soxr\" uses libsoxr to minimally resample packet frames -- moderate processor overhead.\n");
Expand Down

0 comments on commit 797644a

Please sign in to comment.