ALSA Library API: Difference between revisions

From AlsaProject
Jump to navigation Jump to search
m (update links to use www-old)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
applications. The ALSA lib documentation is a valuable developer reference
applications. The ALSA lib documentation is a valuable developer reference
to the available functions. In many ways it is a tutorial. The latest
to the available functions. In many ways it is a tutorial. The latest
on-line documentation is generated from the alsa-lib CVS sources.
on-line documentation is generated from the alsa-lib GIT sources.


*[http://www-old.alsa-project.org/alsa-doc/alsa-lib/ ALSA-library API reference]
*[http://www.alsa-project.org/alsa-doc/alsa-lib/ ALSA library API reference]


The currently designed interfaces are listed below:
The currently designed interfaces are listed below:

Latest revision as of 08:00, 14 May 2020

The ALSA library API is the interface to the ALSA drivers. Developers need to use the functions in this API to achieve native ALSA support for their applications. The ALSA lib documentation is a valuable developer reference to the available functions. In many ways it is a tutorial. The latest on-line documentation is generated from the alsa-lib GIT sources.

The currently designed interfaces are listed below:

  1. Information Interface (/proc/asound)
  2. Control Interface (/dev/snd/controlCX)
  3. Mixer Interface (/dev/snd/mixerCXDX)
  4. PCM Interface (/dev/snd/pcmCXDX)
  5. Raw MIDI Interface (/dev/snd/midiCXDX)
  6. Sequencer Interface (/dev/snd/seq)
  7. Timer Interface (/dev/snd/timer)

You can also generate it yourself. Install the doxygen tool and type 'make doc' in the alsa-lib directory.

There is a stripped version of ALSA-library for small systems like embedded devices, SALSA-Library. It's designed to be source-level API compatible with the normal ALSA library, but has no binary compatibility.

Some aspects of the library operation are affected by environment variables