mirror of
https://github.com/sshlien/abcmidi.git
synced 2026-04-15 14:23:41 +00:00
ANSI function declarations
This commit is contained in:
42
midifile.h
42
midifile.h
@@ -4,40 +4,40 @@ extern int (*Mf_getc)();
|
||||
extern void (*Mf_header)();
|
||||
extern void (*Mf_trackstart)();
|
||||
extern void (*Mf_trackend)();
|
||||
extern void (*Mf_noteon)();
|
||||
extern void (*Mf_noteoff)();
|
||||
extern void (*Mf_pressure)();
|
||||
extern void (*Mf_parameter)();
|
||||
extern void (*Mf_pitchbend)();
|
||||
extern void (*Mf_program)();
|
||||
extern void (*Mf_chanpressure)();
|
||||
extern void (*Mf_sysex)();
|
||||
extern void (*Mf_metamisc)();
|
||||
extern void (*Mf_noteon)(int, int, int);
|
||||
extern void (*Mf_noteoff)(int, int, int);
|
||||
extern void (*Mf_pressure)(int, int, int);
|
||||
extern void (*Mf_parameter)(int, int, int);
|
||||
extern void (*Mf_pitchbend)(int, int, int);
|
||||
extern void (*Mf_program)(int, int);
|
||||
extern void (*Mf_chanpressure)(int, int, int);
|
||||
extern void (*Mf_sysex)(int leng, char *mess);
|
||||
extern void (*Mf_metamisc)(int, int, char *);
|
||||
extern void (*Mf_seqspecific)();
|
||||
extern void (*Mf_seqnum)();
|
||||
extern void (*Mf_text)();
|
||||
extern void (*Mf_eot)();
|
||||
extern void (*Mf_timesig)();
|
||||
extern void (*Mf_smpte)();
|
||||
extern void (*Mf_timesig)(int,int,int,int);
|
||||
extern void (*Mf_smpte)(int,int,int,int,int);
|
||||
extern void (*Mf_tempo)();
|
||||
extern void (*Mf_keysig)();
|
||||
extern void (*Mf_keysig)(int, int);
|
||||
extern void (*Mf_arbitrary)();
|
||||
extern void (*Mf_error)();
|
||||
extern void (*Mf_error)(char *);
|
||||
extern long Mf_currtime;
|
||||
extern int Mf_nomerge;
|
||||
|
||||
/* definitions for MIDI file writing code */
|
||||
extern int (*Mf_putc)();
|
||||
extern int (*Mf_putc)(char c);
|
||||
extern long (*Mf_writetrack)();
|
||||
extern int (*Mf_writetempotrack)();
|
||||
float mf_ticks2sec();
|
||||
long mf_sec2ticks();
|
||||
void mfwrite();
|
||||
float mf_ticks2sec(long ticks, int division, long tempo);
|
||||
long mf_sec2ticks(float secs, int division, long tempo);
|
||||
void mfwrite(int format, int ntracks, int division, FILE *fp);
|
||||
void mfread();
|
||||
int mf_write_meta_event();
|
||||
int mf_write_midi_event();
|
||||
void mf_write_tempo();
|
||||
void mferror();
|
||||
int mf_write_meta_event(long delta_time, int type, char *data, int size);
|
||||
int mf_write_midi_event (long delta_time, int type, int chan, char *data, int size);
|
||||
void mf_write_tempo(long);
|
||||
void mferror(char *);
|
||||
|
||||
/* MIDI status commands most significant bit is 1 */
|
||||
#define note_off 0x80
|
||||
|
||||
Reference in New Issue
Block a user