diff options
| author | Max Horn | 2003-07-02 23:24:05 +0000 |
|---|---|---|
| committer | Max Horn | 2003-07-02 23:24:05 +0000 |
| commit | 6598673ac3030ee5c1d0c9018a5c46749d244e57 (patch) | |
| tree | 4d54241694112aeb8fc41a1335755a02f5d53104 /backends/midi/adlib.cpp | |
| parent | e1ca5552ddccf427cf1a0ca84e335b74b183d638 (diff) | |
| download | scummvm-rg350-6598673ac3030ee5c1d0c9018a5c46749d244e57.tar.gz scummvm-rg350-6598673ac3030ee5c1d0c9018a5c46749d244e57.tar.bz2 scummvm-rg350-6598673ac3030ee5c1d0c9018a5c46749d244e57.zip | |
cleanup
svn-id: r8718
Diffstat (limited to 'backends/midi/adlib.cpp')
| -rw-r--r-- | backends/midi/adlib.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp index 58a43dde12..554a053dc2 100644 --- a/backends/midi/adlib.cpp +++ b/backends/midi/adlib.cpp @@ -595,8 +595,8 @@ private: void generate_samples(int16 *buf, int len); void on_timer(); - void part_key_on (AdlibPart *part, AdlibInstrument *instr, byte note, byte velocity); - void part_key_off (AdlibPart *part, byte note); + void part_key_on(AdlibPart *part, AdlibInstrument *instr, byte note, byte velocity); + void part_key_off(AdlibPart *part, byte note); void adlib_key_off(int chan); void adlib_note_on(int chan, byte note, int mod); @@ -616,7 +616,7 @@ private: void reset_tick(); void mc_off(AdlibVoice * voice); - static void link_mc (AdlibPart *part, AdlibVoice *voice); + static void link_mc(AdlibPart *part, AdlibVoice *voice); void mc_inc_stuff(AdlibVoice *voice, Struct10 * s10, Struct11 * s11); void mc_init_stuff(AdlibVoice *voice, Struct10 * s10, Struct11 * s11, byte flags, InstrumentExtra * ie); @@ -625,7 +625,7 @@ private: static byte struct10_ontimer(Struct10 * s10, Struct11 * s11); static void struct10_setup(Struct10 * s10); static int random_nr(int a); - void mc_key_on (AdlibVoice *voice, AdlibInstrument *instr, byte note, byte velocity); + void mc_key_on(AdlibVoice *voice, AdlibInstrument *instr, byte note, byte velocity); static void premix_proc(void *param, int16 *buf, uint len); }; @@ -1000,7 +1000,7 @@ void MidiDriver_ADLIB::generate_samples(int16 *data, int len) { _next_tick -= step; if (!_next_tick) { if (_timer_proc) - (*_timer_proc) (_timer_param); + (*_timer_proc)(_timer_param); on_timer(); reset_tick(); } |
