driver_sf2.h
1 #pragma once 2 #ifndef driver_sf2_h__ 3 #define driver_sf2_h__ 4 5 #include "compat.h" 6 #include "midifuncs.h" 7 8 enum 9 { 10 SF2_Error = -1, 11 SF2_Ok = 0, 12 SF2_BankError = 1, 13 }; 14 15 int SF2Drv_GetError(void); 16 const char *SF2Drv_ErrorString(int ErrorNumber); 17 18 int SF2Drv_MIDI_Init(midifuncs *); 19 void SF2Drv_MIDI_Shutdown(void); 20 int SF2Drv_MIDI_StartPlayback(void); 21 void SF2Drv_MIDI_HaltPlayback(void); 22 void SF2Drv_MIDI_SetTempo(int tempo, int division); 23 void SF2Drv_MIDI_Service(void); 24 #endif // driver_sf2_h__