Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > cf93d8a8acdcc6fe2225039da0502495 > files > 4172

kernel-doc-2.6.32-131.17.1.el6.centos.plus.noarch.rpm

<?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>Chapter&#160;9.&#160;RawMIDI Interface</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="index.html" title="Writing an ALSA Driver" /><link rel="prev" href="ch08s03.html" title="Interrupt Handler" /><link rel="next" href="ch09s02.html" title="Constructor" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;9.&#160;RawMIDI Interface</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s03.html">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch09s02.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter&#160;9.&#160;RawMIDI Interface"><div class="titlepage"><div><div><h2 class="title"><a id="rawmidi-interface"></a>Chapter&#160;9.&#160;RawMIDI Interface</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch09.html#rawmidi-interface-overview">Overview</a></span></dt><dt><span class="section"><a href="ch09s02.html">Constructor</a></span></dt><dt><span class="section"><a href="ch09s03.html">Callbacks</a></span></dt><dd><dl><dt><span class="section"><a href="ch09s03.html#rawmidi-interface-op-open"><code class="function">open</code> callback</a></span></dt><dt><span class="section"><a href="ch09s03.html#rawmidi-interface-op-close"><code class="function">close</code> callback</a></span></dt><dt><span class="section"><a href="ch09s03.html#rawmidi-interface-op-trigger-out"><code class="function">trigger</code> callback for output
      substreams</a></span></dt><dt><span class="section"><a href="ch09s03.html#rawmidi-interface-op-trigger-in"><code class="function">trigger</code> callback for input
      substreams</a></span></dt><dt><span class="section"><a href="ch09s03.html#rawmidi-interface-op-drain"><code class="function">drain</code> callback</a></span></dt></dl></dd></dl></div><div class="section" title="Overview"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="rawmidi-interface-overview"></a>Overview</h2></div></div></div><p>
      The raw MIDI interface is used for hardware MIDI ports that can
      be accessed as a byte stream.  It is not used for synthesizer
      chips that do not directly understand MIDI.
      </p><p>
      ALSA handles file and buffer management.  All you have to do is
      to write some code to move data between the buffer and the
      hardware.
      </p><p>
      The rawmidi API is defined in
      <code class="filename">&lt;sound/rawmidi.h&gt;</code>.
      </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s03.html">Prev</a>&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;<a accesskey="n" href="ch09s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Interrupt Handler&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Constructor</td></tr></table></div></body></html>