The ALSA Library package contains the ALSA library used by programs (including ALSA Utilities) requiring access to the ALSA sound interface.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.8.tar.bz2
Download (FTP): ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.2.8.tar.bz2
Download MD5 sum: ab32de4b6054d7ab23723f8d85e50a27
Download size: 1.0 MB
Estimated disk space required: 45 MB (with tests and docs)
Estimated build time: 0.3 SBU (with tests and docs)
Doxygen-1.9.6, Python-2.7.18, and alsa-ucm-conf
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/alsa-lib
If needed, enable the following options in the kernel configuration and recompile the kernel:
Device Drivers --->
<*/M> Sound card support ---> [CONFIG_SOUND]
<*/M> Advanced Linux Sound Architecture ---> [CONFIG_SND]
Select settings and drivers appropriate for your hardware.
In the Device Drivers ⇒ Sound card support ⇒ Advanced Linux Sound Architecture section of the kernel configuration, select the settings and drivers appropriate for your hardware. If necessary, recompile and install your new kernel.
Install ALSA Library by running the following commands:
./configure && make
If you have Doxygen installed and you wish to build the library API documentation, run the following commands from the top-level directory of the source tree:
make doc
To test the results, issue: make check.
Now, as the root
user:
make install
To install the API documentation, run the following command as
the root
user:
install -v -d -m755 /usr/share/doc/alsa-lib-1.2.8/html/search && install -v -m644 doc/doxygen/html/*.* \ /usr/share/doc/alsa-lib-1.2.8/html && install -v -m644 doc/doxygen/html/search/* \ /usr/share/doc/alsa-lib-1.2.8/html/search
The default alsa.conf
is adequate for most
installations. For extra functionality and/or advanced control of your
sound device, you may need to create additional configuration files.
For information on the available configuration parameters, visit
https://www.alsa-project.org/main/index.php/Asoundrc.