diff --git a/include/midi.h b/include/midi.h index 5b994cf4b..c7f048838 100644 --- a/include/midi.h +++ b/include/midi.h @@ -1,7 +1,7 @@ /* * midi.h - constants, structs etc. concerning MIDI * - * Copyright (c) 2005-2009 Tobias Doerffel + * Copyright (c) 2005-2010 Tobias Doerffel * * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net * @@ -128,6 +128,11 @@ struct midiEvent { } + inline MidiEventTypes type() const + { + return m_type; + } + inline int channel() const { return m_channel;