<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><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.75.2" /><link rel="home" href="index.html" title="Writing an ALSA Driver" /><link rel="up" href="ch01.html" title="Chapter 1. File Tree Structure" /><link rel="prev" href="ch01.html" title="Chapter 1. File Tree Structure" /><link rel="next" href="ch01s03.html" title="include directory" /></head><body><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="ch01.html">Prev</a> </td><th width="60%" align="center">Chapter 1. File Tree Structure</th><td width="20%" align="right"> <a accesskey="n" href="ch01s03.html">Next</a></td></tr></table><hr /></div><div class="section" title="core directory"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="file-tree-core-directory"></a>core directory</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="ch01s02.html#file-tree-core-directory-oss">core/oss</a></span></dt><dt><span class="section"><a href="ch01s02.html#file-tree-core-directory-ioctl32">core/ioctl32</a></span></dt><dt><span class="section"><a href="ch01s02.html#file-tree-core-directory-seq">core/seq</a></span></dt><dt><span class="section"><a href="ch01s02.html#file-tree-core-directory-seq-oss">core/seq/oss</a></span></dt><dt><span class="section"><a href="ch01s02.html#file-tree-core-directory-deq-instr">core/seq/instr</a></span></dt></dl></div><p> This directory contains the middle layer which is the heart of ALSA drivers. In this directory, the native ALSA modules are stored. The sub-directories contain different modules and are dependent upon the kernel config. </p><div class="section" title="core/oss"><div class="titlepage"><div><div><h3 class="title"><a id="file-tree-core-directory-oss"></a>core/oss</h3></div></div></div><p> The codes for PCM and mixer OSS emulation modules are stored in this directory. The rawmidi OSS emulation is included in the ALSA rawmidi code since it's quite small. The sequencer code is stored in <code class="filename">core/seq/oss</code> directory (see <a class="link" href="ch01s02.html#file-tree-core-directory-seq-oss" title="core/seq/oss"><em class="citetitle"> below</em></a>). </p></div><div class="section" title="core/ioctl32"><div class="titlepage"><div><div><h3 class="title"><a id="file-tree-core-directory-ioctl32"></a>core/ioctl32</h3></div></div></div><p> This directory contains the 32bit-ioctl wrappers for 64bit architectures such like x86-64, ppc64 and sparc64. For 32bit and alpha architectures, these are not compiled. </p></div><div class="section" title="core/seq"><div class="titlepage"><div><div><h3 class="title"><a id="file-tree-core-directory-seq"></a>core/seq</h3></div></div></div><p> This directory and its sub-directories are for the ALSA sequencer. This directory contains the sequencer core and primary sequencer modules such like snd-seq-midi, snd-seq-virmidi, etc. They are compiled only when <code class="constant">CONFIG_SND_SEQUENCER</code> is set in the kernel config. </p></div><div class="section" title="core/seq/oss"><div class="titlepage"><div><div><h3 class="title"><a id="file-tree-core-directory-seq-oss"></a>core/seq/oss</h3></div></div></div><p> This contains the OSS sequencer emulation codes. </p></div><div class="section" title="core/seq/instr"><div class="titlepage"><div><div><h3 class="title"><a id="file-tree-core-directory-deq-instr"></a>core/seq/instr</h3></div></div></div><p> This directory contains the modules for the sequencer instrument layer. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch01s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. File Tree Structure </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> include directory</td></tr></table></div></body></html>