Subversion Repositories svn.mios32

Rev

Rev 1542 | Rev 1726 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1542 Rev 1724
Line 1... Line 1...
1
/* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
1
/* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
2
// $Id: MiosTerminal.cpp 1542 2012-11-25 21:27:23Z tk $
2
// $Id: MiosTerminal.cpp 1724 2013-03-28 20:23:40Z tk $
3
/*
3
/*
4
 * MIOS Terminal Component
4
 * MIOS Terminal Component
5
 *
5
 *
6
 * ==========================================================================
6
 * ==========================================================================
7
 *
7
 *
Line 103... Line 103...
103
103
104
104
105
//==============================================================================
105
//==============================================================================
106
void MiosTerminal::handleIncomingMidiMessage(const MidiMessage& message, uint8 runningStatus)
106
void MiosTerminal::handleIncomingMidiMessage(const MidiMessage& message, uint8 runningStatus)
107
{
107
{
108
    uint8 *data = message.getRawData();
108
    uint8 *data = (uint8 *)message.getRawData();
109
    uint32 size = message.getRawDataSize();
109
    uint32 size = message.getRawDataSize();
110
    int messageOffset = 0;
110
    int messageOffset = 0;
111
111
112
    bool messageReceived = false;
112
    bool messageReceived = false;
113
    if( runningStatus == 0xf0 &&
113
    if( runningStatus == 0xf0 &&