Subversion Repositories eduke32

Rev

Rev 8752 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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