The ALSA Library package contains the ALSA library used by programs (including ALSA Utilities) requiring access to the ALSA sound interface.
Download (HTTP): https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.14.tar.bz2
Recommended file: https://www.alsa-project.org/files/pub/lib/alsa-ucm-conf-1.2.14.tar.bz2
If needed, enable the following options in the kernel configuration and recompile the kernel:
Device Drivers ---> <*/M> Sound card support ---> [SOUND] # Select settings and drivers appropriate for your hardware # in the submenu: <*/M> Advanced Linux Sound Architecture ---> [SND]
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, install the
package and recommended configuration files:
make install && tar -C /usr/share/alsa --strip-components=1 -xf ../alsa-ucm-conf-1.2.14.tar.bz2
To install the API documentation, run the following command as the
root
user:
install -v -d -m755 /usr/share/doc/alsa-lib-1.2.14/html/search && install -v -m644 doc/doxygen/html/*.* \ /usr/share/doc/alsa-lib-1.2.14/html && install -v -m644 doc/doxygen/html/search/* \ /usr/share/doc/alsa-lib-1.2.14/html/search
Install the 32-bit ALSA Library by running the following commands:
make distclean && CC="gcc -m32" CXX="g++ -m32" \ ./configure --libdir=/usr/lib32 \ --host=i686-pc-linux-gnu && make
Now, as the root
user:
make DESTDIR=$PWD/DESTDIR install && cp -vr DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig
Run ./configure --help for a full list of options.
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.
Furthermore, if this package was not built with elogind-255.17 support, add any
non-root users to the audio
group
as the root
user:
usermod -a -G audio <username>