1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []
>
5 <!-- ****************************************************** -->
7 <!-- ****************************************************** -->
8 <book id=
"ALSA-Driver-API">
10 <title>The ALSA Driver API
</title>
14 This document is free; you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation; either version
2 of the License, or
17 (at your option) any later version.
21 This document is distributed in the hope that it will be useful,
22 but
<emphasis>WITHOUT ANY WARRANTY
</emphasis>; without even the
23 implied warranty of
<emphasis>MERCHANTABILITY or FITNESS FOR A
24 PARTICULAR PURPOSE
</emphasis>. See the GNU General Public License
29 You should have received a copy of the GNU General Public
30 License along with this program; if not, write to the Free
31 Software Foundation, Inc.,
59 Temple Place, Suite
330, Boston,
40 <chapter><title>Management of Cards and Devices
</title>
41 <sect1><title>Card Management
</title>
44 <sect1><title>Device Components
</title>
47 <sect1><title>Module requests and Device File Entries
</title>
50 <sect1><title>Memory Management Helpers
</title>
52 !Esound/core/memalloc.c
55 <chapter><title>PCM API
</title>
56 <sect1><title>PCM Core
</title>
58 !Esound/core/pcm_lib.c
59 !Esound/core/pcm_native.c
62 <sect1><title>PCM Format Helpers
</title>
63 !Esound/core/pcm_misc.c
65 <sect1><title>PCM Memory Management
</title>
66 !Esound/core/pcm_memory.c
68 <sect1><title>PCM DMA Engine API
</title>
69 !Esound/core/pcm_dmaengine.c
70 !Iinclude/sound/dmaengine_pcm.h
73 <chapter><title>Control/Mixer API
</title>
74 <sect1><title>General Control Interface
</title>
75 !Esound/core/control.c
77 <sect1><title>AC97 Codec API
</title>
78 !Esound/pci/ac97/ac97_codec.c
79 !Esound/pci/ac97/ac97_pcm.c
81 <sect1><title>Virtual Master Control API
</title>
82 !Esound/core/vmaster.c
83 !Iinclude/sound/control.h
86 <chapter><title>MIDI API
</title>
87 <sect1><title>Raw MIDI API
</title>
88 !Esound/core/rawmidi.c
90 <sect1><title>MPU401-UART API
</title>
91 !Esound/drivers/mpu401/mpu401_uart.c
94 <chapter><title>Proc Info API
</title>
95 <sect1><title>Proc Info Interface
</title>
99 <chapter><title>Compress Offload
</title>
100 <sect1><title>Compress Offload API
</title>
101 !Esound/core/compress_offload.c
102 !Iinclude/uapi/sound/compress_offload.h
103 !Iinclude/uapi/sound/compress_params.h
104 !Iinclude/sound/compress_driver.h
107 <chapter><title>ASoC
</title>
108 <sect1><title>ASoC Core API
</title>
109 !Iinclude/sound/soc.h
110 !Esound/soc/soc-core.c
111 <!-- !Esound/soc/soc-cache.c no docbook comments here -->
112 !Esound/soc/soc-devres.c
114 !Esound/soc/soc-pcm.c
115 !Esound/soc/soc-ops.c
116 !Esound/soc/soc-compress.c
118 <sect1><title>ASoC DAPM API
</title>
119 !Esound/soc/soc-dapm.c
121 <sect1><title>ASoC DMA Engine API
</title>
122 !Esound/soc/soc-generic-dmaengine-pcm.c
125 <chapter><title>Miscellaneous Functions
</title>
126 <sect1><title>Hardware-Dependent Devices API
</title>
129 <sect1><title>Jack Abstraction Layer API
</title>
130 !Iinclude/sound/jack.h
132 !Esound/soc/soc-jack.c
134 <sect1><title>ISA DMA Helpers
</title>
135 !Esound/core/isadma.c
137 <sect1><title>Other Helper Macros
</title>
138 !Iinclude/sound/core.h