mirror of https://github.com/AxioDL/amuse.git
MIDI encoder fix
This commit is contained in:
parent
54bbc7399a
commit
3d56d5f0cc
|
@ -341,8 +341,8 @@ class MIDIEncoder
|
||||||
|
|
||||||
void _sendContinuedValue(uint32_t val)
|
void _sendContinuedValue(uint32_t val)
|
||||||
{
|
{
|
||||||
uint32_t send[3] = {};
|
uint8_t send[3] = {};
|
||||||
uint32_t* ptr = nullptr;
|
uint8_t* ptr = nullptr;
|
||||||
if (val >= 0x4000)
|
if (val >= 0x4000)
|
||||||
{
|
{
|
||||||
ptr = &send[0];
|
ptr = &send[0];
|
||||||
|
|
Loading…
Reference in New Issue