Index of /pub/MIRRORS/ftp.suse.com/people/tiwai/salsa-lib

      Name                     Last modified       Size  Description

[DIR] Parent Directory 15-Sep-2011 07:13 - [   ] salsa-lib-0.0.1.tar.bz2 04-Jun-2007 12:38 278k [   ] salsa-lib-0.0.10.tar.bz2 07-Aug-2007 13:44 283k [   ] salsa-lib-0.0.11.tar.bz2 07-Sep-2007 14:22 283k [   ] salsa-lib-0.0.12.tar.bz2 17-Sep-2007 13:32 283k [   ] salsa-lib-0.0.13.tar.bz2 22-Oct-2007 10:25 283k [   ] salsa-lib-0.0.14.tar.bz2 24-Oct-2007 14:50 284k [   ] salsa-lib-0.0.15.tar.bz2 01-Feb-2008 11:21 284k [   ] salsa-lib-0.0.16.tar.bz2 05-Feb-2008 11:20 285k [   ] salsa-lib-0.0.17.tar.bz2 15-Feb-2008 16:42 287k [   ] salsa-lib-0.0.18.tar.bz2 18-Aug-2008 13:56 273k [   ] salsa-lib-0.0.19.tar.bz2 30-Sep-2008 13:39 274k [   ] salsa-lib-0.0.2.tar.bz2 22-Jun-2007 14:39 278k [   ] salsa-lib-0.0.20.tar.bz2 16-Oct-2008 15:09 264k [   ] salsa-lib-0.0.21.tar.bz2 09-Jan-2009 13:29 274k [   ] salsa-lib-0.0.22.tar.bz2 22-Apr-2009 15:43 275k [   ] salsa-lib-0.0.23.tar.bz2 04-Oct-2009 09:01 281k [   ] salsa-lib-0.0.24.tar.bz2 06-Oct-2009 16:11 281k [   ] salsa-lib-0.0.25.tar.bz2 13-Oct-2009 07:31 281k [   ] salsa-lib-0.0.26.tar.bz2 05-Nov-2009 11:01 281k [   ] salsa-lib-0.0.3.tar.bz2 28-Jun-2007 10:54 278k [   ] salsa-lib-0.0.4.tar.bz2 29-Jun-2007 16:00 278k [   ] salsa-lib-0.0.5.tar.bz2 29-Jun-2007 17:17 278k [   ] salsa-lib-0.0.6.tar.bz2 03-Jul-2007 10:25 278k [   ] salsa-lib-0.0.7.tar.bz2 05-Jul-2007 14:32 280k [   ] salsa-lib-0.0.7a.tar.bz2 10-Jul-2007 12:10 280k [   ] salsa-lib-0.0.8.tar.bz2 17-Jul-2007 16:34 283k [   ] salsa-lib-0.0.9.tar.bz2 01-Aug-2007 21:59 284k [   ] salsa-lib-0.1.0.tar.bz2 20-Apr-2011 10:56 299k [   ] salsa-lib-0.1.1.tar.bz2 29-Apr-2011 15:41 300k [   ] salsa-lib-0.1.2.tar.bz2 25-May-2011 12:52 273k

		SALSA-Lib - Small ALSA Library
		==============================

GENERAL
-------

SALSA-Lib is a small, light-weight, hot and spicy version of the ALSA
library, mainly for embedded systems with limited resources.
The library is designed to be source-level compatible with ALSA
library API for limited contents.  Most of function calls are inlined,
and accesses directly to the hardware via system calls.
Some components like ALSA sequencer aren't supported, and most of all,
the alsa-lib plugins and configurations are completely dropped.  Thus,
neither dmix nor format conversion is available with SALSA-lib.

The current features are like below:

CONFIG
  o All functions snd_config_*() are replaced with dummy ones since
    SALSA-Lib doesn't support the configuration files.
    The apps accessing config stuff won't work properly as expected.
  o Disabled as default

PCM
  o Supports only the hw layer, i.e. no up/down-mixing, format
    conversion, rate conversion, etc, and no external plug-in
  o Accepts the limited PCM name, "hw", "default", "default:x",
    and "hw:x,y,z"
  o snd_pcm_mmap_read/write*() are declared but not implemented
    (returns -ENXIO)
  o The support of async handlers can be built in via configure
    option, --enable-async.  For simplicity, SALSA-lib supports
    only one async handler per PCM handler.

CONTROL
  o Supports only the hw layer, no plug-in
  o Some H-control functions are not included
  o The support of async handlers via --enable-async as well as
    PCM async handlers.

MIXER
  o No sort with weight as default, sorted in the order of numid
  o Simple-none layer only
  o "Capture Source" isn't split to switches but handled as an enum
    (I personally like this better :)
  o dB support can be selected via configure option
  o No linear <-> log dB conversion

TIMER
  o No query interface (returns errors)
  o No async handler (returns -ENXIO)
  o Disabled as default

RAWMIDI
  o Should work
  o Disabled as default

HWDEP
  o Should work
  o Disabled as default

SEQUENCER
  o All replaced with dummy functions.  The apps using sequencer won't
    work properly.
  o Disabled as default

INSTRUMENT LAYER
  o No APIs are provided

UCM
  o Not supported yet at all

MISC
  o The API functions that are not supported but defined have
    "deprecated" attribute.  You'll get compile warnings when
    compiling the code using such functions.  (The same is true for
    the all components below.)  They are just warnings that you can
    usually ignore.  The warnings are given so that you can find the
    non-functional features easily.  If warnings really matter, remove
    the deprecated attribute via --disable-deprecated configure
    option.


INSTALLATION
------------

Some configure options are available to reduce the binary size.
As default, rawmidi, hwdep, timer, conf and seq components are
disabled.  They can be enabled via --enable-xxx option, such as
--enable-rawmidi.
The PCM and mixer components are enabled as default, and can be
disabled via --disable-pcm and --disable-mixer option, respectively.

The dB range support can be enabled via --enable-tlv option.  It's
disabled as default.

The async handler support can be enabled via --enable-async option.
It's disabled as default.

With option --enable-libasound, libasound.so will be created as an
opt-in ABI-compatible library with the genuine ALSA-lib.

All these options can be enabled via a single option,
--enable-everything, for your convenience.

For disabling the deprecated attribute for non-working functions (see
the description of "MISC" in the section "GENERAL"), pass
--disable-deprecated option.

For enabling the support for the string buffer with snd_output_*()
function (e.g. used by PulseAudio), pass --enable-output-buffer option.

The alsa-library version to be compatible can be given explicitly via
--with-compat-version option.  As default, 1.0.24 is set.

If the ALSA device files are not in /dev/snd, another directory can be
specified with the --with-alsa-devdir option.

The library is installed as $LIBDIR/libsalsa.so.*.
This package provides also the compatible alsa.m4 and alsa.pc.  If the
other packages can be autoreconf'ed, you'll be able to link libsalsa
as it is.

The C header files are installed into $INCLUDEDIR/alsa.  The
alsa/asoundlib.h should be compatible with the normal alsa-lib's one.


CROSS-COMPILATION
-----------------

For compiling the library with a cross compiler, run like the
following:

	% CC=arm-linux-gcc \
	  ./configure --target=arm-linux --host=i686-linux

Don't forget to add "-linux" to the host option value.  Otherwise
configure script won't detect the host type correctly, and the shared
library won't be built properly.


DOCUMENTATION
-------------

See alsa-lib reference.  It's compatible!


KNOWN PROBLEMS
--------------

- Incomplete MMAP mode

  snd_pcm_mmap_*() are not implemented, and the mmap-mode is less
  tested, so far.

- When built without --enable-output-buffer, the buffer output via 
  snd_output_*() functions doesn't work.  And, the last "close"
  argument in snd_input_stdio_attach() and snd_output_stdio_attach()
  is ignored and the attached IO is always closed.


LICENSE
-------

Distributed under LGPL.  See COPYING file.