source: multimedia/libdriv/alsa-lib.xml@ 974951c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 974951c was 4ca94e5c, checked in by Randy McMurchy <randy@…>, 19 years ago

Fixed typos in ALSA instructions

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

  • Property mode set to 100644
File size: 6.3 KB
RevLine 
[57e86a93]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[48b7295]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[73942e6]6
[48b7295]7 <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
8 <!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
[bdf22d74]9 <!ENTITY alsa-lib-md5sum "114af3304619920ffe2b147b760700b9">
[ac789c0]10 <!ENTITY alsa-lib-size "682 KB">
[bdf22d74]11 <!ENTITY alsa-lib-buildsize "27.3 MB (additional 14.4 MB to build and install docs)">
12 <!ENTITY alsa-lib-time "0.6 SBU">
[48b7295]13]>
[73942e6]14
[48b7295]15<sect1 id="alsa-lib" xreflabel="ALSA Library-&alsa-lib-version;">
[57e86a93]16 <?dbhtml filename="alsa-lib.html"?>
[48b7295]17
[57e86a93]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[48b7295]22
[57e86a93]23 <title>ALSA Library-&alsa-lib-version;</title>
[48b7295]24
[57e86a93]25 <indexterm zone="alsa-lib">
26 <primary sortas="a-ALSA-Library">ALSA Library</primary>
27 </indexterm>
[48b7295]28
[57e86a93]29 <sect2 role="package">
30 <title>Introduction to ALSA Library</title>
[48b7295]31
[9df3b847]32 <para>The <application>ALSA Library</application> package contains
[57e86a93]33 the ALSA library. This is used by programs (including <application>ALSA
34 Utilities</application>) requiring access to the ALSA sound interface.</para>
[48b7295]35
[57e86a93]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &alsa-lib-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &alsa-lib-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &alsa-lib-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &alsa-lib-time;</para>
55 </listitem>
56 </itemizedlist>
[efa108a6]57
[57e86a93]58 <bridgehead renderas="sect3">ALSA Library Dependencies</bridgehead>
[48b7295]59
[57e86a93]60 <bridgehead renderas="sect4">Optional</bridgehead>
[bdf22d74]61 <para><xref linkend="doxygen"/></para>
[48b7295]62
[57e86a93]63 </sect2>
[48b7295]64
[57e86a93]65 <sect2 role="kernel" id="alsa-lib-kernel">
66 <title>Kernel Configuration</title>
[48b7295]67
[9df3b847]68 <para>In the <quote>Sound</quote> section of the kernel configuration, edit
[d7ecaa6]69 <emphasis role="bold">Advanced Linux Sound Architecture</emphasis>
[9df3b847]70 options to match your audio hardware and disable deprecated
71 <emphasis role="bold">Open Sound System</emphasis>.
[57e86a93]72 Recompile and install your new kernel.</para>
[ac789c0]73
[57e86a93]74 <indexterm zone="alsa-lib alsa-lib-kernel">
75 <primary sortas="d-ALSA">ALSA</primary>
76 </indexterm>
[ac789c0]77
[57e86a93]78 </sect2>
[ac789c0]79
[57e86a93]80 <sect2 role="installation">
81 <title>Installation of ALSA Library</title>
[48b7295]82
[bdf22d74]83 <para>Install <application>ALSA Library</application> by
[57e86a93]84 running the following commands:</para>
85
86<screen><userinput>./configure --enable-static &amp;&amp;
87make</userinput></screen>
88
[4ca94e5c]89 <para>This package does not come with a test suite.</para>
[57e86a93]90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install</userinput></screen>
94
[bdf22d74]95 <para>If you have <application>Doxygen</application> installed and you wish to
[57e86a93]96 build the library API documentation, run the following
97 commands from the top-level directory of the source tree:</para>
98
99<screen><userinput>make doc</userinput></screen>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>install -v -d -m755 /usr/share/alsa/doc/html &amp;&amp;
104install -v -m644 doc/doxygen/html/* /usr/share/alsa/doc/html</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para><parameter>--enable-static</parameter>: This switch is used to enable
[4ca94e5c]112 building the static library as some programs link against it.</para>
[57e86a93]113
114 </sect2>
115
116 <sect2 role="configuration">
117 <title>Configuring ALSA Library</title>
118
119 <sect3 id="alsa-lib-config">
120 <title>Config Files</title>
121
[9df3b847]122 <para><filename>~/.asoundrc</filename>,
123 <filename>/etc/asound.conf</filename>,
124 <filename>/usr/share/alsa/alsa.conf</filename>, and
[57e86a93]125 <filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
126
127 <indexterm zone="alsa-lib alsa-lib-config">
128 <primary sortas="e-AA.asoundrc">~/.asoundrc</primary>
129 </indexterm>
130
131 <indexterm zone="alsa-lib alsa-lib-config">
132 <primary sortas="e-etc-asound.conf">/etc/asound.conf</primary>
133 </indexterm>
134
135 <indexterm zone="alsa-lib alsa-lib-config">
136 <primary sortas="e-usr-share-alsa-alsa.conf">/usr/share/alsa/alsa.conf</primary>
137 </indexterm>
138
139 <indexterm zone="alsa-lib alsa-lib-config">
140 <primary sortas="e-usr-share-alsa-alsa1">.../alsa/{cards,pcm}/*.conf</primary>
141 </indexterm>
142
143 </sect3>
144
145 <sect3>
146 <title>Configuration Information</title>
147
148 <para>The default <filename>alsa.conf</filename> is adequate for most
[9df3b847]149 installations. For extra functionality and/or advanced control of your sound
150 device, you may need to create additional configuration files. For
[bdf22d74]151 information on the available configuration parameters, visit <ulink
[57e86a93]152 url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
153
154 </sect3>
155
156 </sect2>
157
158 <sect2 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Programs</segtitle>
163 <segtitle>Installed Libraries</segtitle>
164 <segtitle>Installed Directories</segtitle>
165
166 <seglistitem>
167 <seg>alsalisp and aserver</seg>
[bdf22d74]168 <seg>libasound.[so,a]</seg>
[4ca94e5c]169 <seg>/usr/include/alsa and /usr/share/alsa</seg>
[57e86a93]170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="libasound">
179 <term><filename class='libraryfile'>libasound.[so,a]</filename></term>
180 <listitem>
181 <para>provides ALSA functions for application programs.</para>
182 <indexterm zone="alsa-lib libasound">
183 <primary sortas="c-libasound">libasound.[so,a]</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 </variablelist>
189
190 </sect2>
[48b7295]191
192</sect1>
Note: See TracBrowser for help on using the repository browser.