source: multimedia/libdriv/alsa-utils.xml@ 48b7295

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 48b7295 was 48b7295, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML update for Chapter 37

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2314 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.1 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY alsa-utils-download-http "&alsa-download-http;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
7 <!ENTITY alsa-utils-download-ftp "&alsa-download-ftp;/utils/alsa-utils-&alsa-utils-version;.tar.bz2">
8 <!ENTITY alsa-utils-size "140 KB">
9 <!ENTITY alsa-utils-buildsize "3.2 MB">
10 <!ENTITY alsa-utils-time "0.08 SBU">
11]>
12<sect1 id="alsa-utils" xreflabel="ALSA Utilities-&alsa-utils-version;">
13<?dbhtml filename="alsa-utils.html"?>
14<title>ALSA Utilities-&alsa-utils-version;</title>
15
16<sect2>
17<title>Introduction to <application><acronym>ALSA</acronym> Utilities</application></title>
18
19<para>The <application><acronym>ALSA</acronym> Utilities</application> package
20contains various utilities which are useful for controlling your sound card.
21</para>
22
23<sect3><title>Package information</title>
24<itemizedlist spacing='compact'>
25<listitem><para>Download (HTTP): <ulink url="&alsa-utils-download-http;"/></para></listitem>
26<listitem><para>Download (FTP): <ulink url="&alsa-utils-download-ftp;"/></para></listitem>
27<listitem><para>Download size: &alsa-utils-size;</para></listitem>
28<listitem><para>Estimated Disk space required: &alsa-utils-buildsize;</para></listitem>
29<listitem><para>Estimated build time: &alsa-utils-time;</para></listitem></itemizedlist>
30</sect3>
31
32<sect3><title>Additional downloads</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Required Patch: <ulink
35url="&patch-root;/alsa-utils-&alsa-utils-version;-arecord-1.patch"/></para></listitem>
36</itemizedlist></sect3>
37
38<sect3><title><application><acronym>ALSA</acronym> Utilities</application> dependencies</title>
39<sect4><title>Required</title>
40<para><xref linkend="alsa-lib"/>
41</para></sect4>
42</sect3>
43
44</sect2>
45
46<sect2>
47<title>Installation of <application><acronym>ALSA</acronym> Utilities</application></title>
48
49<para>Install <application><acronym>ALSA</acronym> Utilities</application> by running the following commands:</para>
50
51<screen><userinput><command>patch -Np1 -i ../alsa-utils-&alsa-utils-version;-arecord-1.patch &amp;&amp;
52./configure &amp;&amp;
53make &amp;&amp;
54make install</command></userinput></screen>
55
56</sect2>
57
58<sect2>
59<title>Configuring <application><acronym>ALSA</acronym> Utilities</application></title>
60
61<sect3><title>Config files</title>
62
63<para><filename>/etc/asound.state</filename></para>
64
65</sect3>
66
67<sect3><title>Configuration Information</title>
68
69<para>Probably the easiest way to store mixer levels is to set and retrieve
70them using a bootscript. It is possible to do this with a
71<userinput>post-install</userinput> line in
72<filename>/etc/modules.conf</filename> but this is left as an exercise for
73those readers who wish to do this.</para>
74
75<para>The <application><acronym>ALSA</acronym> Driver</application> package
76installs a script as <filename>/etc/rc.d/init.d/alsasound</filename>. While it
77is possible to use this script, it contains a lot of extraneous detail which
78isn't needed on an <acronym>LFS</acronym> system. Instead, install the init
79script <filename>/etc/rc.d/init.d/alsa</filename> included in the
80<xref linkend="intro-important-bootscripts"/> package.</para>
81
82<screen><userinput><command>make install-alsa</command></userinput></screen>
83
84<para>Note that all channels of your sound card are muted by default. You can
85use the <command>alsamixer</command> program from
86<application><acronym>ALSA</acronym> Utilities</application> (or any other
87<acronym>OSS</acronym> mixer) to change this.</para>
88
89<para>The first time the above script is run, it will complain that
90there is no state in <filename>/etc/asound.state</filename>. You can
91prevent this by running the following commands after installing
92<application><acronym>ALSA</acronym> Utilities</application>:</para>
93<screen><userinput><command>touch /etc/asound.state &amp;&amp;
94alsactl store</command></userinput></screen>
95
96<para>A final note is that the lines loading <filename>sfxload</filename>
97are commented out. They are there as an example of other things you may
98wish to do in the startup script. <filename>sfxload</filename> is a
99separate package of interest to SoundBlaster AWE and Live!
100users. It is designed for loading "sound-fonts" (which are used for
101<acronym>MIDI</acronym> output). You may wish to delete these lines and add
102your own or, if you have the relevant sound card, install <filename>sfxload
103</filename> and uncomment them.</para>
104
105</sect3>
106
107</sect2>
108
109<sect2>
110<title>Contents</title>
111
112<para>The <application><acronym>ALSA</acronym> Utilities</application> package
113contains <command>aconnect</command>,
114<command>alsactl</command>, <command>alsamixer</command>,
115<command>amixer</command>, <command>aplay</command>,
116<command>arecord</command> and <command>aseqnet</command>.</para>
117
118</sect2>
119
120<sect2><title>Description</title>
121
122<sect3><title>aconnect</title>
123<para><command>aconnect</command> is a utility for connecting and disconnecting two existing ports in the <acronym>ALSA</acronym> sequencer system.</para>
124</sect3>
125
126<sect3><title>alsactl</title>
127<para><command>alsactl</command> is used to control advanced settings
128for the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
129
130<sect3><title>alsamixer</title>
131<para><command>alsamixer</command> is an ncurses-based mixer program for
132use with the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
133
134<sect3><title>amixer</title>
135<para><command>amixer</command> allows command-line control of the
136mixers for the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
137
138<sect3><title>aplay</title>
139<para><command>aplay</command> is a command-line soundfile player for
140the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
141
142<sect3><title>arecord</title>
143<para><command>arecord</command> is a command-line soundfile recorder
144for the <acronym>ALSA</acronym> sound card drivers.</para></sect3>
145
146<sect3><title>aseqnet</title>
147<para><command>aseqnet</command> is an <acronym>ALSA</acronym> sequencer
148client which sends and receives event packets over a network.</para></sect3>
149
150</sect2>
151
152</sect1>
153
Note: See TracBrowser for help on using the repository browser.