1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nn::midi::CTR</title> 51 </head> 52 <body> 53 <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/midi/Overview.html">midi</a>::CTR</CODE> Namespace</h1> 54 <h2>Description</h2> 55 <div class="section"> 56 <p>The namespace of the <a href="../../../nn/midi/CTR/Overview.html">CTR</a> MIDI library. <br />(This namespace can also be written without the <CODE>::CTR</CODE> portion.)</p><!-- write here --></div> 57 <a name="struct" id="struct"> 58 <h2>Structures</h2> 59 <div class="section"> 60 <table class="members"> 61 <tr> 62 <th> 63 <a href="../../../nn/midi/CTR/DeviceInfo/Overview.html"><CODE>nn::midi::CTR::DeviceInfo</CODE></a> 64 </th> 65 <td>Structure representing MIDI device information.</td> 66 </tr> </table> 67 </div> 68 </a> <a name="function" id="function"> 69 <h2>Functions</h2> 70 <div class="section"> 71 <table class="members"> 72 <tr> 73 <th class="category" colspan="3">Initialize and Finalize</th> 74 </tr> 75 <tr> 76 <td width="100"> </td> 77 <th> 78 <a href="../../../nn/midi/CTR/Initialize.html"><CODE>Initialize</CODE></a> 79 </th> 80 <td>Initializes the MIDI library. Call this function once before using the library.</td> 81 </tr> 82 <tr> 83 <td width="100"> </td> 84 <th> 85 <a href="../../../nn/midi/CTR/Finalize.html"><CODE>Finalize</CODE></a> 86 </th> 87 <td>Finalizes the MIDI library. Call this function once after using the library.</td> 88 </tr> 89 <tr> 90 <th class="category" colspan="3">Other</th> 91 </tr> 92 <tr> 93 <td width="100"> </td> 94 <th> 95 <a href="../../../nn/midi/CTR/Open.html"><CODE>Open</CODE></a> 96 </th> 97 <td>Opens a MIDI device and enables it for use.</td> 98 </tr> 99 <tr> 100 <td width="100"> </td> 101 <th> 102 <a href="../../../nn/midi/CTR/Close.html"><CODE>Close</CODE></a> 103 </th> 104 <td>Closes a MIDI device.</td> 105 </tr> 106 <tr> 107 <td width="100"> </td> 108 <th> 109 <a href="../../../nn/midi/CTR/Reset.html"><CODE>Reset</CODE></a> 110 </th> 111 <td>Resets a MIDI device to the state immediately after <CODE>Open</CODE> was called. If <CODE>Read</CODE> has been called from a different thread, <CODE>Read</CODE> returns an error.</td> 112 </tr> 113 <tr> 114 <td width="100"> </td> 115 <th> 116 <a href="../../../nn/midi/CTR/GetDeviceInfo.html"><CODE>GetDeviceInfo</CODE></a> 117 </th> 118 <td>Gets device info.</td> 119 </tr> 120 <tr> 121 <td width="100"> </td> 122 <th> 123 <a href="../../../nn/midi/CTR/GetReadableLength.html"><CODE>GetReadableLength</CODE></a> 124 </th> 125 <td>Gets the amount of data that has accumulated in the device's buffer.</td> 126 </tr> 127 <tr> 128 <td width="100"> </td> 129 <th> 130 <a href="../../../nn/midi/CTR/Read.html"><CODE>Read</CODE></a> 131 </th> 132 <td>Reads in data.</td> 133 </tr> </table> 134 </div> 135 </a> 136 <h2>Revision History</h2> 137 <div class="section"> 138 <dl class="history"> 139 <dt>2010/06/14</dt> 140 <dd>Initial version.<br /> 141 </dd> 142 </dl> 143 </div> 144 <hr><p>CONFIDENTIAL</p></body> 145</html> 146