Browse Source

Sequencer: Work around internal compiler error bug in GCC 4.8.

tags/non-daw-v1.2.0
Jonathan Moore Liles 11 years ago
parent
commit
e6d153c13c
2 changed files with 7 additions and 6 deletions
  1. +7
    -0
      sequencer/src/midievent.C
  2. +0
    -6
      sequencer/src/midievent.H

+ 7
- 0
sequencer/src/midievent.C View File

@@ -102,6 +102,13 @@ midievent::note ( char note )
_data.lsb = note & 0x7F;
}


unsigned char
midievent::note ( void ) const
{
return _data.lsb;
}

unsigned char
midievent::note_velocity ( void ) const
{


+ 0
- 6
sequencer/src/midievent.H View File

@@ -219,12 +219,6 @@ midievent::is_note_off ( void ) const
return (opcode() == NOTE_OFF);
}

inline unsigned char
midievent::note ( void ) const
{
return _data.lsb;
}

inline bool
midievent::operator< ( const midievent &rhs ) const
{


Loading…
Cancel
Save