aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
diff options
context:
space:
mode:
authorWarren Block <wblock@FreeBSD.org>2016-04-03 18:57:15 +0000
committerWarren Block <wblock@FreeBSD.org>2016-04-03 18:57:15 +0000
commit49e2a7fc5120bfefe17451b329b8e06733c59c6f (patch)
tree1d0286c50e5919c90bbc5e1a3e25aa80047fde95 /en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
parent50eb129c54a2fb0869c33f29e1d2edd5b367be57 (diff)
downloaddoc-49e2a7fc5120bfefe17451b329b8e06733c59c6f.tar.gz
doc-49e2a7fc5120bfefe17451b329b8e06733c59c6f.zip
Whitespace-only fixes, translators please ignore.
Notes
Notes: svn path=/head/; revision=48529
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/multimedia/chapter.xml')
-rw-r--r--en_US.ISO8859-1/books/handbook/multimedia/chapter.xml282
1 files changed, 141 insertions, 141 deletions
diff --git a/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml b/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
index 8b3b211469..1838ec2c2a 100644
--- a/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
@@ -13,9 +13,9 @@
<authorgroup>
<author>
- <personname>
- <firstname>Ross</firstname>
- <surname>Lippert</surname>
+ <personname>
+ <firstname>Ross</firstname>
+ <surname>Lippert</surname>
</personname>
<contrib>Edited by </contrib>
</author>
@@ -96,22 +96,23 @@
<sect1 xml:id="sound-setup">
<info>
- <title>Setting Up the Sound Card</title>
+ <title>Setting Up the Sound Card</title>
<authorgroup>
<author>
- <personname>
- <firstname>Moses</firstname>
- <surname>Moore</surname>
- </personname>
- <contrib>Contributed by </contrib> <!-- in November 2000-->
+ <personname>
+ <firstname>Moses</firstname>
+ <surname>Moore</surname>
+ </personname>
+ <contrib>Contributed by </contrib> <!-- in November 2000-->
</author>
</authorgroup>
+
<authorgroup>
<author>
- <personname>
- <firstname>Marc</firstname>
- <surname>Fonvieille</surname>
+ <personname>
+ <firstname>Marc</firstname>
+ <surname>Fonvieille</surname>
</personname>
<contrib>Enhanced by </contrib> <!--in September 2004-->
</author>
@@ -387,107 +388,105 @@ pcm7: &lt;HDA Realtek ALC889 PCM #3 Digital&gt; at cad 2 nid 1 on hdac1
<filename>/etc/sysctl.conf</filename>:</para>
<programlisting>hw.snd.default_unit=<replaceable>4</replaceable></programlisting>
- </sect2>
+ </sect2>
- <sect2 xml:id="sound-multiple-sources">
- <info>
- <title>Utilizing Multiple Sound Sources</title>
+ <sect2 xml:id="sound-multiple-sources">
+ <info>
+ <title>Utilizing Multiple Sound Sources</title>
+
+ <authorgroup>
+ <author>
+ <personname>
+ <firstname>Munish</firstname>
+ <surname>Chopra</surname>
+ </personname>
+ <contrib>Contributed by </contrib>
+ </author>
+ </authorgroup>
+ </info>
+
+ <para>It is often desirable to have multiple sources of sound
+ that are able to play simultaneously. &os; uses
+ <quote>Virtual Sound Channels</quote> to multiplex the sound
+ card's playback by mixing sound in the kernel.</para>
+
+ <para>Three &man.sysctl.8; knobs are available for configuring
+ virtual channels:</para>
+
+ <screen>&prompt.root; <userinput>sysctl dev.pcm.0.play.vchans=4</userinput>
+&prompt.root; <userinput>sysctl dev.pcm.0.rec.vchans=4</userinput>
+&prompt.root; <userinput>sysctl hw.snd.maxautovchans=4</userinput></screen>
- <authorgroup>
- <author>
- <personname>
- <firstname>Munish</firstname>
- <surname>Chopra</surname>
- </personname>
- <contrib>Contributed by </contrib>
- </author>
- </authorgroup>
- </info>
+ <para>This example allocates four virtual channels, which is a
+ practical number for everyday use. Both
+ <varname>dev.pcm.0.play.vchans=4</varname> and
+ <varname>dev.pcm.0.rec.vchans=4</varname> are configurable
+ after a device has been attached and represent the number of
+ virtual channels <filename>pcm0</filename> has for playback
+ and recording. Since the <filename>pcm</filename> module can
+ be loaded independently of the hardware drivers,
+ <varname>hw.snd.maxautovchans</varname> indicates how many
+ virtual channels will be given to an audio device when it is
+ attached. Refer to &man.pcm.4; for more information.</para>
- <para>It is often desirable to have multiple sources of sound that
- are able to play simultaneously. &os; uses <quote>Virtual
- Sound Channels</quote> to multiplex the sound card's playback
- by mixing sound in the kernel.</para>
+ <note>
+ <para>The number of virtual channels for a device cannot be
+ changed while it is in use. First, close any programs using
+ the device, such as music players or sound daemons.</para>
+ </note>
- <para>Three &man.sysctl.8; knobs are available for configuring
- virtual channels:</para>
+ <para>The correct <filename>pcm</filename> device will
+ automatically be allocated transparently to a program that
+ requests <filename>/dev/dsp0</filename>.</para>
+ </sect2>
- <screen>&prompt.root; <userinput>sysctl dev.pcm.0.play.vchans=4</userinput>
-&prompt.root; <userinput>sysctl dev.pcm.0.rec.vchans=4</userinput>
-&prompt.root; <userinput>sysctl hw.snd.maxautovchans=4</userinput></screen>
+ <sect2>
+ <info>
+ <title>Setting Default Values for Mixer Channels</title>
+
+ <authorgroup>
+ <author>
+ <personname>
+ <firstname>Josef</firstname>
+ <surname>El-Rayes</surname>
+ </personname>
+ <contrib>Contributed by </contrib>
+ </author>
+ </authorgroup>
+ </info>
+
+ <para>The default values for the different mixer channels are
+ hardcoded in the source code of the &man.pcm.4; driver. While
+ sound card mixer levels can be changed using &man.mixer.8; or
+ third-party applications and daemons, this is not a permanent
+ solution. To instead set default mixer values at the driver
+ level, define the appropriate values in
+ <filename>/boot/device.hints</filename>, as seen in this
+ example:</para>
+
+ <programlisting>hint.pcm.0.vol="50"</programlisting>
+
+ <para>This will set the volume channel to a default value of
+ <literal>50</literal> when the &man.pcm.4; module is
+ loaded.</para>
+ </sect2>
+ </sect1>
- <para>This example allocates four virtual channels, which is a
- practical number for everyday use. Both
- <varname>dev.pcm.0.play.vchans=4</varname> and
- <varname>dev.pcm.0.rec.vchans=4</varname> are configurable after
- a device has been attached and represent the number of virtual
- channels <filename>pcm0</filename> has for playback and
- recording. Since the <filename>pcm</filename> module can be
- loaded independently of the hardware drivers,
- <varname>hw.snd.maxautovchans</varname> indicates how many
- virtual channels will be given to an audio device when it is
- attached. Refer to &man.pcm.4; for more information.</para>
-
- <note>
- <para>The number of virtual channels for a device cannot be
- changed while it is in use. First, close any programs using
- the device, such as music players or sound daemons.</para>
- </note>
-
- <para>
- The correct <filename>pcm</filename> device will
- automatically be allocated transparently to a program that
- requests <filename>/dev/dsp0</filename>.</para>
- </sect2>
-
- <sect2>
+ <sect1 xml:id="sound-mp3">
<info>
- <title>Setting Default Values for Mixer Channels</title>
+ <title>MP3 Audio</title>
<authorgroup>
<author>
- <personname>
- <firstname>Josef</firstname>
- <surname>El-Rayes</surname>
- </personname>
- <contrib>Contributed by </contrib>
+ <personname>
+ <firstname>Chern</firstname>
+ <surname>Lee</surname>
+ </personname>
+ <contrib>Contributed by </contrib> <!--in Sept 2001-->
</author>
</authorgroup>
</info>
-
- <para>The default values for the different mixer channels are
- hardcoded in the source code of the &man.pcm.4; driver. While
- sound card mixer levels can be changed using &man.mixer.8; or
- third-party applications and daemons, this is not a permanent
- solution. To instead set default mixer values at the driver
- level, define the appropriate values in
- <filename>/boot/device.hints</filename>, as seen in this
- example:</para>
-
- <programlisting>hint.pcm.0.vol="50"</programlisting>
-
- <para>This will set the volume channel to a default value of
- <literal>50</literal> when the &man.pcm.4; module is
- loaded.</para>
- </sect2>
-</sect1>
-
-<sect1 xml:id="sound-mp3">
- <info>
- <title>MP3 Audio</title>
-
- <authorgroup>
- <author>
- <personname>
- <firstname>Chern</firstname>
- <surname>Lee</surname>
- </personname>
- <contrib>Contributed by </contrib> <!--in Sept 2001-->
- </author>
- </authorgroup>
- </info>
-
<para>This section describes some <acronym>MP3</acronym>
players available for &os;, how to rip audio
<acronym>CD</acronym> tracks, and how to encode and decode
@@ -540,16 +539,16 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<acronym>CD</acronym>s.</para>
<para>With the audio <acronym>CD</acronym> in the drive, the
- following command can be issued as <systemitem
- class="username">root</systemitem> to rip an entire
- <acronym>CD</acronym> into individual, per track,
+ following command can be issued as
+ <systemitem class="username">root</systemitem> to rip an
+ entire <acronym>CD</acronym> into individual, per track,
<acronym>WAV</acronym> files:</para>
<screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -B</userinput></screen>
- <para>In this example, the <option>-D
- <replaceable>0,1,0</replaceable></option> indicates the
- <acronym>SCSI</acronym> device <filename>0,1,0</filename>
+ <para>In this example, the
+ <option>-D <replaceable>0,1,0</replaceable></option> indicates
+ the <acronym>SCSI</acronym> device <filename>0,1,0</filename>
containing the <acronym>CD</acronym> to rip. Use
<command>cdrecord -scanbus</command> to determine the correct
device parameters for the system.</para>
@@ -580,8 +579,7 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<sect2 xml:id="mp3-encoding">
<title>Encoding and Decoding MP3s</title>
- <para>
- <application>Lame</application> is a popular
+ <para><application>Lame</application> is a popular
<acronym>MP3</acronym> encoder which can be installed from the
<package>audio/lame</package> port. Due to patent issues, a
package is not available.</para>
@@ -598,12 +596,13 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<acronym>MP3</acronym> bitrate while the 160 and 192 bitrates
provide higher quality. The higher the bitrate, the larger
the size of the resulting <acronym>MP3</acronym>. The
- <option>-h</option> turns on the <quote>higher quality but a
- little slower</quote> mode. The options beginning with
- <option>--t</option> indicate <acronym>ID3</acronym> tags,
- which usually contain song information, to be embedded within
- the <acronym>MP3</acronym> file. Additional encoding options
- can be found in the <application>lame</application> manual
+ <option>-h</option> turns on the
+ <quote>higher quality but a little slower</quote>
+ mode. The options beginning with <option>--t</option>
+ indicate <acronym>ID3</acronym> tags, which usually contain
+ song information, to be embedded within the
+ <acronym>MP3</acronym> file. Additional encoding options can
+ be found in the <application>lame</application> manual
page.</para>
<para>In order to burn an audio <acronym>CD</acronym> from
@@ -695,13 +694,13 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<sect1 xml:id="video-playback">
<info>
- <title>Video Playback</title>
+ <title>Video Playback</title>
<authorgroup>
<author>
- <personname>
- <firstname>Ross</firstname>
- <surname>Lippert</surname>
+ <personname>
+ <firstname>Ross</firstname>
+ <surname>Lippert</surname>
</personname>
<contrib>Contributed by </contrib> <!--in June 2002-->
</author>
@@ -1152,27 +1151,28 @@ zoom=yes</programlisting>
<sect1 xml:id="tvcard">
<info>
- <title>TV Cards</title>
+ <title>TV Cards</title>
- <authorgroup>
- <author>
- <personname>
- <firstname>Josef</firstname>
- <surname>El-Rayes</surname>
- </personname>
- <contrib>Original contribution by </contrib>
- </author>
- </authorgroup>
- <authorgroup>
- <author>
- <personname>
- <firstname>Marc</firstname>
- <surname>Fonvieille</surname>
- </personname>
- <contrib>Enhanced and adapted by </contrib> <!-- in January 2004-->
- </author>
- </authorgroup>
- </info>
+ <authorgroup>
+ <author>
+ <personname>
+ <firstname>Josef</firstname>
+ <surname>El-Rayes</surname>
+ </personname>
+ <contrib>Original contribution by </contrib>
+ </author>
+ </authorgroup>
+
+ <authorgroup>
+ <author>
+ <personname>
+ <firstname>Marc</firstname>
+ <surname>Fonvieille</surname>
+ </personname>
+ <contrib>Enhanced and adapted by </contrib> <!-- in January 2004-->
+ </author>
+ </authorgroup>
+ </info>
<indexterm>
<primary>TV cards</primary>
@@ -1360,13 +1360,13 @@ bktr0: Pinnacle/Miro TV, Philips SECAM tuner.</programlisting>
<sect1 xml:id="scanners">
<info>
- <title>Image Scanners</title>
+ <title>Image Scanners</title>
<authorgroup>
<author>
- <personname>
- <firstname>Marc</firstname>
- <surname>Fonvieille</surname>
+ <personname>
+ <firstname>Marc</firstname>
+ <surname>Fonvieille</surname>
</personname>
<contrib>Written by </contrib> <!-- in August 2004-->
</author>