Difference between revisions of "ALSA Library"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
m (I fixed the title of one of the sections.)
Line 7: Line 7:
 
----
 
----
  
== Introduction to ALSA ==
+
== 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.
 
The ALSA Library package contains the ALSA library. This is used by programs (including ALSA Utilities) requiring access to the ALSA sound interface.

Revision as of 12:57, 5 December 2006

Download Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.13.tar.bz2

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.

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --enable-static &&
make

Install the package

make install &&
install -v -m644 -D doc/asoundrc.txt \
    /usr/share/doc/alsa-lib-1.0.13/asoundrc.txt

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 --enable-static &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 --enable-static &&
make

Install the package

make install &&
install -v -m644 -D doc/asoundrc.txt \
    /usr/share/doc/alsa-lib-1.0.13/asoundrc.txt

Documentation

If you have Doxygen installed and you wish to build the library API documentation, run the following commands:

make doc &&
install -v -d -m755 /usr/share/alsa/doc/html &&
install -v -m644 doc/doxygen/html/* /usr/share/alsa/doc/html

Contents

  • Installed Programs: aserver
  • Installed Libraries: libasound.{so,la,a}, smixer-sbase.{so,la,a}, smixer-ac97.{so,la,a}, smixer-hda.{so,la,a}
  • Installed Directories: /usr/include/alsa/sound, /usr/include/sys, /usr/share/alsa/cards, /usr/share/alsa/pcm, /usr/lib/alsa-lib/smixer