
;   /*\
;---|*|--------====< MVMIDI.H >====--------
;---|*|
;---|*| Media Vision, Inc. Copyright (c) 1991,1992. All Rights Reserved.
;---|*|
;   \*/


;   /*\
;---|*| MIDI Function Prototypes
;   \*/

	int  mvMIDIEnable	( int  );
	int  mvMIDIGetBuff	( int, char far * );
	int  mvMIDIGetByte	(      );
	void mvMIDISendBuff	( int, char far * );
	void mvMIDISendByte	( char );
	void mvMIDIDisable	(      );

// MIDI messages

#define SYSEX_ERROR	0xFF	// internal error code for sysexes on input
#define ACTV_SENSE	0xFE	// active sense code

// MIDI message filters

#define MF_SYSEX	0x0001	// 0000000000000001b
#define MF_MTCQTR	0x0002	// 0000000000000010b
#define MF_SONGPOS	0x0004	// 0000000000000100b
#define MF_SONGSEL	0x0008	// 0000000000001000b
#define MF_UNDEFINED1	0x0001	// 0000000000010000b
#define MF_UNDEFINED2	0x0002	// 0000000000100000b
#define MF_TUNE 	0x0004	// 0000000001000000b
#define MF_ENDEX	0x0008	// 0000000010000000b
#define MF_MIDICLOCK	0x0001	// 0000000100000000b
#define MF_UNDEFINED3	0x0002	// 0000001000000000b
#define MF_START	0x0004	// 0000010000000000b
#define MF_CONTINUE	0x0008	// 0000100000000000b
#define MF_STOP 	0x0001	// 0001000000000000b
#define MF_UNDEFINED4	0x0002	// 0010000000000000b
#define MF_ACTSENSE	0x0004	// 0100000000000000b
#define MF_SYSRESET	0x0008	// 1000000000000000b

