Changeset 2462:df57a22e074e in roaraudio


Ignore:
Timestamp:
08/21/09 18:41:10 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

send data to ssynth_eval_message()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/midi.c

    r2461 r2462  
    416416 
    417417int midi_conv_mes2ssynth(void) { 
    418  return -1; 
     418 struct roar_buffer        * buf = g_midi_mess.buf; 
     419 struct midi_message       * mes = NULL; 
     420 
     421 while (buf != NULL) { 
     422  if ( roar_buffer_get_data(buf, (void**)&mes) == -1 ) { 
     423   return -1; 
     424  } 
     425 
     426  if ( ssynth_eval_message(mes) == -1 ) 
     427   return -1; 
     428 
     429  if ( roar_buffer_get_next(buf, &buf) == -1 ) 
     430   buf = NULL; 
     431 } 
     432 
     433 return 0; 
    419434} 
    420435 
Note: See TracChangeset for help on using the changeset viewer.