%general-entities; ]> $LastChangedBy$ $Date$ alsa-lib-&alsa-lib-version; ALSA Library Introduction to ALSA Library The ALSA Library package contains the ALSA library. This is used by programs (including ALSA Utilities) requiring access to the ALSA sound interface. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &alsa-lib-md5sum; Download size: &alsa-lib-size; Estimated disk space required: &alsa-lib-buildsize; Estimated build time: &alsa-lib-time; ALSA Library Dependencies Optional and resmgr User Notes: Kernel Configuration 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. Ensure that the deprecated Device Drivers ⇒ Sound card support ⇒ Open Sound System is not selected. If necessary, recompile and install your new kernel. ALSA Installation of ALSA Library Install ALSA Library by running the following commands: ./configure && make This package does not come with a test suite. Now, as the root user: make install && install -v -m644 -D doc/asoundrc.txt \ /usr/share/doc/alsa-lib-&alsa-lib-version;/asoundrc.txt 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 Now, to install the API documentation, as the root user: install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html && install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-&alsa-lib-version;/html Due to bug in libtool script it is no longer possible to build shared and static libraries together. If you need static alsa library, issue following commands: make clean && ./configure --disable-shared --enable-static && make Now, as the root user run: install -m644 src/.libs/libasound.a /usr/lib Command Explanations --enable-static: This switch is used to enable building the static library as some programs link against it. Configuring ALSA Library Config Files ~/.asoundrc, /etc/asound.conf, /usr/share/alsa/alsa.conf, and /usr/share/alsa/{cards,pcm}/*.conf ~/.asoundrc /etc/asound.conf /usr/share/alsa/alsa.conf /usr/share/alsa/{cards,pcm}/*.conf Configuration Information 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 . Contents Installed Program Installed Libraries Installed Directories aserver libasound.{so,a} and smixer-*.{so,a} /usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and /usr/share/doc/alsa-lib-&alsa-lib-version; Short Descriptions aserver provides the ALSA server. aserver libasound.{so,a} provides ALSA functions for application programs. libasound.{so,a} smixer-*.{so,a} provides hardware dependent ALSA mixer functions. smixer-*.{so,a}