Changeset 1874:8ae3287023ff in roaraudio


Ignore:
Timestamp:
05/23/09 17:05:06 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

additinal parameter mapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/midi.c

    r1873 r1874  
    242242      case MIDI_TYPE_NOTE_ON: 
    243243      case MIDI_TYPE_NOTE_OFF: 
     244      case MIDI_TYPE_PA: 
     245      case MIDI_TYPE_CONTROLER: 
    244246        if ( need == 2 ) { 
    245247         mes->kk = *data; 
     
    248250        } 
    249251       break; 
    250       case MIDI_TYPE_PA: 
    251       case MIDI_TYPE_CONTROLER: 
    252252      case MIDI_TYPE_PROGRAM: 
    253253      case MIDI_TYPE_MA: 
     254        mes->vv = *data; 
     255       break; 
    254256      case MIDI_TYPE_PB: 
    255257      case MIDI_TYPE_SYSEX: 
     258        ROAR_WARN("midi_conv_midi2mes(id=%i): Message of Type 0x%.2X (PB or SysEx) not yet supported", id, mes->type); 
    256259       break; 
    257260    } 
Note: See TracChangeset for help on using the changeset viewer.