Difference between revisions of "ALSA Library"

From CBLFS
Jump to navigationJump to search
(Dependencies)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| install -v -d -m755 /usr/share/alsa/doc/html &&
+
| ftp://ftp.alsa-project.org/pub/lib/alsa-lib-{{ALSA Library-Version}}.tar.bz2
install -v -m644 doc/doxygen/html/* /usr/share/alsa/doc/html
 
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|The ALSA Library is a userspace library that provides a level of abstraction over the /dev interfaces provided by the kernel modules.|http://www.alsa-project.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 13: Line 14:
 
* [[Doxygen]]
 
* [[Doxygen]]
 
* [[resmgr]]
 
* [[resmgr]]
 +
 +
== Configuration Information ==
 +
 +
If you would like to build ALSA Library against [[resmgr]] then add the following to configure:
 +
 +
--enable-resmgr
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 18: Line 25:
 
Compile the package:
 
Compile the package:
  
  ./configure --enable-static &&
+
  ./configure &&
 
  make
 
  make
  
Line 25: Line 32:
 
  make install &&
 
  make install &&
 
  install -v -m644 -D doc/asoundrc.txt \
 
  install -v -m644 -D doc/asoundrc.txt \
     /usr/share/doc/alsa-lib-1.0.11/asoundrc.txt
+
     /usr/share/doc/alsa-lib-{{ALSA Library-Version}}/asoundrc.txt
  
 
== Multilib ==
 
== Multilib ==
Line 44: Line 51:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 --enable-static &&
+
  CC="gcc ${BUILDN32}" ./configure --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 55: Line 62:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 --enable-static &&
+
  CC="gcc ${BUILD64}" ./configure --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 62: Line 69:
 
  make install &&
 
  make install &&
 
  install -v -m644 -D doc/asoundrc.txt \
 
  install -v -m644 -D doc/asoundrc.txt \
     /usr/share/doc/alsa-lib-1.0.11/asoundrc.txt
+
     /usr/share/doc/alsa-lib-{{ALSA Library-Version}}/asoundrc.txt
  
 
== Documentation ==
 
== Documentation ==
Line 71: Line 78:
 
  install -v -d -m755 /usr/share/alsa/doc/html &&
 
  install -v -d -m755 /usr/share/alsa/doc/html &&
 
  install -v -m644 doc/doxygen/html/* /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

Latest revision as of 15:36, 16 April 2007

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

Introduction to ALSA Library

The ALSA Library is a userspace library that provides a level of abstraction over the /dev interfaces provided by the kernel modules.

Project Homepage: http://www.alsa-project.org/

Dependencies

Optional

Configuration Information

If you would like to build ALSA Library against resmgr then add the following to configure:

--enable-resmgr

Non-Multilib

Compile the package:

./configure &&
make

Install the package

make install &&
install -v -m644 -D doc/asoundrc.txt \
    /usr/share/doc/alsa-lib-1.0.27.2/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 &&
make

Install the package

make install

64Bit

Compile the package:

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

Install the package

make install &&
install -v -m644 -D doc/asoundrc.txt \
    /usr/share/doc/alsa-lib-1.0.27.2/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