Changeset 1855:60ee58430f49 in roaraudio


Ignore:
Timestamp:
05/23/09 11:43:28 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

there need to be a function for midi called before mixing and one after for cleanup.

Location:
roard
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • roard/include/midi.h

    r1853 r1855  
    9393 
    9494int midi_update(void); 
     95int midi_reinit(void); 
    9596 
    9697int midi_check_stream  (int id); 
  • roard/loop.c

    r1843 r1855  
    7474  } 
    7575 
     76  midi_update(); 
     77 
    7678  ROAR_DBG("main_loop(*): mixing clients..."); 
    7779  if ( g_standby ) { 
     
    105107#endif 
    106108 
    107   midi_update(); 
     109  midi_reinit(); 
     110 
    108111//  output_buffer_reinit(); 
    109112 
  • roard/midi.c

    r1853 r1855  
    5252 
    5353 return midi_cb_update(); 
     54} 
     55 
     56int midi_reinit(void) { 
     57 return 0; 
    5458} 
    5559 
Note: See TracChangeset for help on using the changeset viewer.