30 #include <tdelibs_export.h>
56 class KMID_EXPORT KMidSimpleAPI
59 class KMidSimpleAPIPrivate;
60 KMidSimpleAPIPrivate *d;
73 static int kMidInit(
void);
78 static int kMidLoad(
const char *filename);
94 static int kMidPlay(
int loop=0);
102 static int kMidStop(
void);
108 static void kMidDestruct(
void);
114 static int kMidIsPlaying(
void);
123 static int kMidDevices(
void);
134 static const char *kMidName(
int i);
145 static const char *kMidType(
int i);
153 static void kMidSetDevice(
int i);
164 static void kMidSetMidiMapper(
const char *mapfilename);
169 static const char *kMidVersion(
void);
178 static const char *kMidCopyright(
void);
191 KMID_EXPORT
int kMidInit(
void);
192 KMID_EXPORT
int kMidLoad(
const char *filename);
193 KMID_EXPORT
int kMidPlay(
void);
194 KMID_EXPORT
int kMidStop(
void);
195 KMID_EXPORT
void kMidDestruct(
void);
196 KMID_EXPORT
int kMidIsPlaying(
void);
197 KMID_EXPORT
int kMidDevices(
void);
198 KMID_EXPORT
const char * kMidName(
int i);
199 KMID_EXPORT
const char * kMidType(
int i);
200 KMID_EXPORT
void kMidSetDevice(
int i);
201 KMID_EXPORT
void kMidSetMidiMapper(
const char *mapfilename);
202 KMID_EXPORT
const char * kMidVersion(
void);
203 KMID_EXPORT
const char * kMidCopyright(
void);
214 extern struct kMidData
MIDI Device Manager class .
A Midi Mapper class which defines the way MIDI events are translated (or "mapped") to different ones.
MIDI file player routines .
PlayerController is a struct that is used by the MidiPlayer object to tell other parts of the applica...