alsa-lib-1.1.9

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  ALSA-1.1.9

- Next

  alsa-plugins-1.1.9

- Up
- Home

# alsa-lib-1.1.9

## Introduction to ALSA Library

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-9.0 platform.

### Package Information

- Download (FTP): ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.9.tar.bz2

- Download MD5 sum: e6d429dbdcfaa0f034d907fa6dc3735e

- Download size: 1.0 MB

- Estimated disk space required: 32 MB (with tests)

- Estimated build time: 0.3 SBU (with tests)

### ALSA Library Dependencies

#### Optional

Doxygen-1.8.16 and Python-2.7.16

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/alsa-lib

## Kernel Configuration

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. Ensure that the deprecated Device Drivers ⇒ Sound card support ⇒ Open Sound System is not selected. If necessary, recompile and install your new kernel.

## Installation of ALSA Library

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.1.9/html/search &&
    install -v -m644 doc/doxygen/html/*.* \
                    /usr/share/doc/alsa-lib-1.1.9/html &&
    install -v -m644 doc/doxygen/html/search/* \
                    /usr/share/doc/alsa-lib-1.1.9/html/search

## Configuring ALSA Library

### Config Files

`~/.asoundrc` and `/etc/asound.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 http://www.alsa-project.org/main/index.php/Asoundrc.

## Contents

Installed Program: aserver
Installed Library: libasound.so and four others under /usr/lib/alsa-lib/smixer
Installed Directories: /usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and /usr/share/doc/alsa-lib-1.1.9

### Short Descriptions

aserver | is the ALSA server.
`libasound.so` | contains the ALSA API functions.

Last updated on 2019-08-17 15:49:15 -0700

- Prev

  ALSA-1.1.9

- Next

  alsa-plugins-1.1.9

- Up
- Home