Changeset 1845:387a865620c1 in roaraudio


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

added subs: midi_check_stream() and midi_send_stream(), corrected a missing return

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/midi.c

    r1843 r1845  
    4545} 
    4646 
     47// STREAMS: 
     48 
     49int midi_check_stream  (int id) { 
     50 return -1; 
     51} 
     52int midi_send_stream   (int id) { 
     53 return -1; 
     54} 
     55 
     56// CB: 
    4757 
    4858int midi_cb_init (void) { 
  • roard/streams.c

    r1842 r1845  
    438438 
    439439 g_streams[id]->name = str; 
     440 
     441 return 0; 
    440442} 
    441443 
     
    887889    return light_check_stream(id); 
    888890   break; 
     891  case ROAR_DIR_MIDI_IN: 
     892    return midi_check_stream(id); 
     893   break; 
    889894  case ROAR_DIR_PLAY: 
    890895  case ROAR_DIR_BIDIR: 
     
    10001005    return light_send_stream(id); 
    10011006   break; 
     1007  case ROAR_DIR_MIDI_OUT: 
     1008    return midi_send_stream(id); 
     1009   break; 
    10021010  case ROAR_DIR_OUTPUT: 
    10031011    if ( g_standby ) 
Note: See TracChangeset for help on using the changeset viewer.