Changeset 189:4a7a0460e034 in roaraudio for roard/midi.c


Ignore:
Timestamp:
07/20/08 18:17:54 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added midi_cb_update() and g_midi_cb_stoptime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/midi.c

    r188 r189  
    3535 
    3636int midi_cb_play(float t, float freq, int override) { 
     37/* 
     38#define MIDI_CB_NOOVERRIDE 0 
     39#define MIDI_CB_OVERRIDE   1 
     40*/ 
    3741 return -1; 
     42} 
     43 
     44int midi_cb_update (uint32_t pos) { 
     45 if ( g_midi_cb_stoptime <= pos ) 
     46  midi_cb_stop(); 
     47 
     48 return 0; 
    3849} 
    3950 
Note: See TracChangeset for help on using the changeset viewer.