Changeset 1335

Show
Ignore:
Timestamp:
12/30/07 01:54:25 (9 months ago)
Author:
calvin
Message:

can send note offs in the wave table

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/buzelib/WaveTableView.cpp

    r1331 r1335  
    446446        if ((lParam & (1 << 30)) != 0) return 0; 
    447447 
    448         int note = midi_to_buzz_note(keyboard_mapper::map_code_to_note(document->octave, wParam)); 
     448        int note = keyboard_mapper::map_code_to_note(document->octave, wParam); 
     449        if (note != 255) note = midi_to_buzz_note(note); 
    449450        if (note == -1) return 0; 
    450451        int index = waveTableList.GetSelectedIndex();