source: multimedia/libdriv/alsa-lib.xml@ fb9298b4

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 fb9298b4 was fb9298b4, checked in by Randy McMurchy <randy@…>, 19 years ago

Added instructions to run the test suite for GCC-3; added a cd command to the ALSA lib instructions to prepare for installing the documentation

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

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[48b7295]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;
[73942e6]5
[48b7295]6 <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
7 <!ENTITY alsa-lib-download-ftp "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
[da13524]8 <!ENTITY alsa-lib-md5sum "34ceaac0d1f0fc2b1462cef7c3a6825e">
[7a9f6537]9 <!ENTITY alsa-lib-size "661 KB">
[73942e6]10 <!ENTITY alsa-lib-buildsize "33.7 MB (45.5 MB if docs are built)">
11 <!ENTITY alsa-lib-time "0.59 SBU">
[48b7295]12]>
[73942e6]13
[48b7295]14<sect1 id="alsa-lib" xreflabel="ALSA Library-&alsa-lib-version;">
[a0f03b0]15<sect1info>
[5cd0959d]16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
[a0f03b0]18</sect1info>
[48b7295]19<?dbhtml filename="alsa-lib.html"?>
20<title>ALSA Library-&alsa-lib-version;</title>
21
22<sect2>
[73942e6]23<title>Introduction to <application><acronym>ALSA</acronym>
24Library</application></title>
[48b7295]25
26<para>The <application><acronym>ALSA</acronym> Library</application> package
27contains the <acronym>ALSA</acronym> library. This is used by programs
[73942e6]28(including <application><acronym>ALSA</acronym> Utilities</application>)
29requiring access to the <acronym>ALSA</acronym> sound interface.</para>
[48b7295]30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
[da13524]33<listitem><para>Download (HTTP):
34<ulink url="&alsa-lib-download-http;"/></para></listitem>
35<listitem><para>Download (FTP):
36<ulink url="&alsa-lib-download-ftp;"/></para></listitem>
37<listitem><para>Download MD5 sum: &alsa-lib-md5sum;</para></listitem>
[48b7295]38<listitem><para>Download size: &alsa-lib-size;</para></listitem>
[da13524]39<listitem><para>Estimated disk space required:
40&alsa-lib-buildsize;</para></listitem>
41<listitem><para>Estimated build time:
42&alsa-lib-time;</para></listitem></itemizedlist>
[48b7295]43</sect3>
44
[73942e6]45<sect3><title><application><acronym>ALSA</acronym> Library</application>
46dependencies</title>
47<sect4><title>Optional</title>
48<para><ulink url="http://jackit.sourceforge.net/">JACK</ulink> and
[cef3a2f]49<xref linkend="doxygen"/></para>
[73942e6]50</sect4>
51</sect3>
52
[48b7295]53</sect2>
54
55<sect2>
[73942e6]56<title>Installation of <application><acronym>ALSA</acronym>
57Library</application>
[48b7295]58</title>
59
[73942e6]60<para>In the <quote>Sound</quote> section of the kernel configuration, edit
61<userinput>Advanced Linux Sound Architecture</userinput> options to match your
62audio hardware and disable deprecated <userinput>Open Sound System</userinput>.
[7f58d870]63Recompile and install your new kernel.</para>
64
[73942e6]65<para>Install <application><acronym>ALSA</acronym> Library</application> by
66running the following commands:</para>
[48b7295]67
68<screen><userinput><command>./configure --enable-static &amp;&amp;
69make &amp;&amp;
70make install</command></userinput></screen>
71
[73942e6]72<para>If you have <application><acronym>JACK</acronym></application> installed
73and you wish to build the <application><acronym>JACK</acronym></application>
74<acronym>PCM</acronym> plugin library, run the following commands:</para>
75
76<screen><userinput><command>cd src/pcm/ext &amp;&amp;
77make jack &amp;&amp;
[fb9298b4]78make install-jack &amp;&amp;
79cd ../../..</command></userinput></screen>
[73942e6]80
81<para>If you have <application>Doxygen</application> installed and you wish to
82build the library <acronym>API</acronym> documentation, run the following
83commands from the top-level directory of the source tree:</para>
84
85<screen><userinput><command>make doc &amp;&amp;
86install -d -m755 /usr/share/alsa/doc/html &amp;&amp;
87install -m644 doc/doxygen/html/* /usr/share/alsa/doc/html</command></userinput></screen>
88
[48b7295]89</sect2>
90
91<sect2>
92<title>Command explanations</title>
93
94<para><parameter>--enable-static</parameter>: This switch is used to enable
[73942e6]95building the static library because some programs link against it.</para>
[48b7295]96
97</sect2>
98
99<sect2>
[73942e6]100<title>Configuring <application><acronym>ALSA</acronym>
101Library</application></title>
102
103<sect3><title>Config files</title>
104<para><filename>/usr/share/alsa/alsa.conf</filename>,
105<filename>/etc/asound.conf</filename>,
106<filename>~/.asoundrc</filename> and
107<filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
108</sect3>
[48b7295]109
[73942e6]110<sect3><title>Configuration information</title>
[48b7295]111
[73942e6]112<para>The default <filename>alsa.conf</filename> is adequate for most
113installations. For extra functionality and/or advanced control of your sound
114device, you may need to create additional configuration files. For
115information on the available configuration parameters, including setup of the
116<application><acronym>JACK</acronym></application> <acronym>PCM</acronym>
117plugin, visit <ulink
118url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
[48b7295]119
120</sect3>
121
122</sect2>
123
124<sect2>
125<title>Contents</title>
126
127<para>The <application><acronym>ALSA</acronym> Library</application> package
[73942e6]128contains <command>aserver</command>,
129<command>alsalisp</command>,
130the <filename class="libraryfile">libasound</filename> library and optionally,
131the <application><acronym>JACK</acronym></application> <acronym>PCM</acronym>
132plugin library.</para>
[48b7295]133
134</sect2>
135
136<sect2><title>Description</title>
137
138<sect3><title>libasound (alsa library)</title>
139<para><filename class="libraryfile">libasound</filename> provides
140<acronym>ALSA</acronym> functions for application programs.</para></sect3>
141
142</sect2>
143
144</sect1>
Note: See TracBrowser for help on using the repository browser.