Fix the section about MP3 audio:

- use <devicename> for /dev/dsp1.0
- wrap the FooBar-GreatestHits.mp3 example in <replaceable>
- move the explanation before the sample screen output.

PR:             docs/134763
Approved by:    jkois (mentor)
This commit is contained in:
Benedict Reuschling 2009-06-17 18:01:54 +00:00
parent c492289ec3
commit 5eca23dc88
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=34456

View file

@ -480,10 +480,12 @@ kld snd_ich (1p/2r/0v channels duplex default)</screen>
command-line MP3 player.</para> command-line MP3 player.</para>
<para><application>mpg123</application> can be run by specifying <para><application>mpg123</application> can be run by specifying
the sound device and the MP3 file on the command line, as the sound device and the MP3 file on the command line. Assuming your
shown below:</para> audio device is <devicename>/dev/dsp1.0</devicename> and you want
to play the MP3 file <replaceable>Foobar-GreatestHits.mp3</replaceable>
you would enter the following:</para>
<screen>&prompt.root; <userinput>mpg123 -a <replaceable>/dev/dsp1.0</replaceable> Foobar-GreatestHits.mp3</userinput> <screen>&prompt.root; <userinput>mpg123 -a <devicename>/dev/dsp1.0</devicename> <replaceable>Foobar-GreatestHits.mp3</replaceable></userinput>
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more! Uses code from various people. See 'README' for more!
@ -496,10 +498,6 @@ THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Playing MPEG stream from Foobar-GreatestHits.mp3 ... Playing MPEG stream from Foobar-GreatestHits.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
</screen> </screen>
<para><filename><replaceable>/dev/dsp1.0</replaceable></filename> should be replaced with the
<devicename>dsp</devicename> device entry on your system.</para>
</sect2> </sect2>
<sect2 id="rip-cd"> <sect2 id="rip-cd">