1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>core directory</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Writing an ALSA Driver"><link rel="up" href="file-tree.html" title="Chapter&#160;1.&#160;File Tree Structure"><link rel="prev" href="file-tree.html" title="Chapter&#160;1.&#160;File Tree Structure"><link rel="next" href="file-tree-include-directory.html" title="include directory"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">core directory</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="file-tree.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;1.&#160;File Tree Structure</th><td width="20%" align="right">&#160;<a accesskey="n" href="file-tree-include-directory.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="file-tree-core-directory"></a>core directory</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="section"><a href="file-tree-core-directory.html#file-tree-core-directory-oss">core/oss</a></span></dt><dt><span class="section"><a href="file-tree-core-directory.html#file-tree-core-directory-ioctl32">core/ioctl32</a></span></dt><dt><span class="section"><a href="file-tree-core-directory.html#file-tree-core-directory-seq">core/seq</a></span></dt><dt><span class="section"><a href="file-tree-core-directory.html#file-tree-core-directory-seq-oss">core/seq/oss</a></span></dt><dt><span class="section"><a href="file-tree-core-directory.html#file-tree-core-directory-deq-instr">core/seq/instr</a></span></dt></dl></div><p>
2        This directory contains the middle layer which is the heart
3      of ALSA drivers. In this directory, the native ALSA modules are
4      stored. The sub-directories contain different modules and are
5      dependent upon the kernel config. 
6      </p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="file-tree-core-directory-oss"></a>core/oss</h3></div></div></div><p>
7          The codes for PCM and mixer OSS emulation modules are stored
8        in this directory. The rawmidi OSS emulation is included in
9        the ALSA rawmidi code since it's quite small. The sequencer
10        code is stored in <code class="filename">core/seq/oss</code> directory (see
11        <a class="link" href="file-tree-core-directory.html#file-tree-core-directory-seq-oss" title="core/seq/oss"><em class="citetitle">
12        below</em></a>).
13        </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="file-tree-core-directory-ioctl32"></a>core/ioctl32</h3></div></div></div><p>
14          This directory contains the 32bit-ioctl wrappers for 64bit
15        architectures such like x86-64, ppc64 and sparc64. For 32bit
16        and alpha architectures, these are not compiled. 
17        </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="file-tree-core-directory-seq"></a>core/seq</h3></div></div></div><p>
18          This directory and its sub-directories are for the ALSA
19        sequencer. This directory contains the sequencer core and
20        primary sequencer modules such like snd-seq-midi,
21        snd-seq-virmidi, etc. They are compiled only when
22        <code class="constant">CONFIG_SND_SEQUENCER</code> is set in the kernel
23        config. 
24        </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="file-tree-core-directory-seq-oss"></a>core/seq/oss</h3></div></div></div><p>
25          This contains the OSS sequencer emulation codes.
26        </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="file-tree-core-directory-deq-instr"></a>core/seq/instr</h3></div></div></div><p>
27          This directory contains the modules for the sequencer
28        instrument layer. 
29        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="file-tree.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="file-tree.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="file-tree-include-directory.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;1.&#160;File Tree Structure&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;include directory</td></tr></table></div></body></html>
30