ALSA Library API: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users 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 | on-line documentation is generated from the alsa-lib GIT sources. | ||
*[http://www.alsa-project.org/alsa-doc/alsa-lib/ ALSA | *[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: | ||
Line 20: | Line 20: | ||
[http://www.doxygen.org doxygen tool] and type 'make doc' in | [http://www.doxygen.org doxygen tool] and type 'make doc' in | ||
the alsa-lib directory. | 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. | |||
*[[SALSA-Library]] | |||
Some aspects of the library operation are affected by [[LibEnvVars|environment variables]] |
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:
- Information Interface (/proc/asound)
- Control Interface (/dev/snd/controlCX)
- Mixer Interface (/dev/snd/mixerCXDX)
- PCM Interface (/dev/snd/pcmCXDX)
- Raw MIDI Interface (/dev/snd/midiCXDX)
- Sequencer Interface (/dev/snd/seq)
- 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