This commit is contained in:
Lauszus 2022-01-07 09:37:56 +00:00
parent 089f105bfc
commit 3c6920e949
3 changed files with 6 additions and 6 deletions

View file

@ -69,7 +69,7 @@ $(function() {
<a href="usbh__midi_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *******************************************************************************</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * USB-MIDI class driver for USB Host Shield 2.0 Library</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2012-2021 Yuuichi Akagawa</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2012-2022 Yuuichi Akagawa</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Idea from LPK25 USB-MIDI to Serial MIDI converter</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * by Collin Cunningham - makezine.com, narbotic.com</span></div>
@ -421,7 +421,7 @@ $(function() {
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; *(outBuf++) = <a class="code" href="class_u_s_b_h___m_i_d_i.html#aa84131af42cd34c3d62763a7b3f07d2f">recvBuf</a>[<a class="code" href="class_u_s_b_h___m_i_d_i.html#aad25eeebfe8741afa7a242ec398c846e">readPtr</a>++];</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; *(outBuf++) = <a class="code" href="class_u_s_b_h___m_i_d_i.html#aa84131af42cd34c3d62763a7b3f07d2f">recvBuf</a>[<a class="code" href="class_u_s_b_h___m_i_d_i.html#aad25eeebfe8741afa7a242ec398c846e">readPtr</a>++];</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; </div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_u_s_b_h___m_i_d_i.html#ae72b2c1cbd89e25b60833add4de15153">getMsgSizeFromCin</a>(cin);</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <span class="keywordflow">return</span> <a class="code" href="class_u_s_b_h___m_i_d_i.html#ae72b2c1cbd89e25b60833add4de15153">getMsgSizeFromCin</a>(cin &amp; 0x0f);</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;}</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160;<span class="comment">/* Send data to MIDI device */</span></div>

View file

@ -109,7 +109,7 @@ Namespaces</h2></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aedbb874461f06ee82661c00de153c126"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126">USBH_MIDI_VERSION</a>&#160;&#160;&#160;600</td></tr>
<tr class="memitem:aedbb874461f06ee82661c00de153c126"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126">USBH_MIDI_VERSION</a>&#160;&#160;&#160;601</td></tr>
<tr class="separator:aedbb874461f06ee82661c00de153c126"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209d19007c615d3f300a5d3717776a45"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__midi_8h.html#a209d19007c615d3f300a5d3717776a45">MIDI_MAX_ENDPOINTS</a>&#160;&#160;&#160;3</td></tr>
<tr class="separator:a209d19007c615d3f300a5d3717776a45"><td class="memSeparator" colspan="2">&#160;</td></tr>
@ -135,7 +135,7 @@ Variables</h2></td></tr>
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define USBH_MIDI_VERSION&#160;&#160;&#160;600</td>
<td class="memname">#define USBH_MIDI_VERSION&#160;&#160;&#160;601</td>
</tr>
</table>
</div><div class="memdoc">

View file

@ -69,7 +69,7 @@ $(function() {
<a href="usbh__midi_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *******************************************************************************</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * USB-MIDI class driver for USB Host Shield 2.0 Library</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2012-2021 Yuuichi Akagawa</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2012-2022 Yuuichi Akagawa</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Idea from LPK25 USB-MIDI to Serial MIDI converter</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * by Collin Cunningham - makezine.com, narbotic.com</span></div>
@ -96,7 +96,7 @@ $(function() {
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#define _USBH_MIDI_H_</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_usb_8h.html">Usb.h</a>&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126"> 31</a></span>&#160;<span class="preprocessor">#define USBH_MIDI_VERSION 600</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#aedbb874461f06ee82661c00de153c126"> 31</a></span>&#160;<span class="preprocessor">#define USBH_MIDI_VERSION 601</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a209d19007c615d3f300a5d3717776a45"> 32</a></span>&#160;<span class="preprocessor">#define MIDI_MAX_ENDPOINTS 3 //endpoint 0, bulk_IN(MIDI), bulk_OUT(MIDI)</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a071b718fc63564ff2ae0b8b8d8e638fc"> 33</a></span>&#160;<span class="preprocessor">#define USB_SUBCLASS_MIDISTREAMING 3</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="usbh__midi_8h.html#a0cb5d0be715a42f36440b29eaa728c58"> 34</a></span>&#160;<span class="preprocessor">#define MIDI_EVENT_PACKET_SIZE 64</span></div>