Implemented BMidiSynthFile.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7571 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit
2004-05-13 19:54:00 +00:00
parent 0b8a2c94ce
commit b178e1905b
6 changed files with 140 additions and 43 deletions
+11 -1
View File
@@ -4,6 +4,7 @@
#include <BeBuild.h>
#include <Midi.h>
#include <MidiSynthFile.h>
struct entry_ref;
@@ -69,6 +70,8 @@ public:
private:
friend class BMidiSynthFile;
virtual void _ReservedMidiStore1();
virtual void _ReservedMidiStore2();
virtual void _ReservedMidiStore3();
@@ -117,7 +120,14 @@ private:
uint16 format;
uint16 _reserved1[1];
uint32 _reserved2[16];
synth_file_hook hookFunc;
int32 hookArg;
bool looping;
bool paused;
bool finished;
uint32 _reserved2[13];
};
#endif // _MIDI_STORE_H
+5 -1
View File
@@ -8,6 +8,8 @@
typedef void (*synth_file_hook)(int32 arg);
class BMidiStore;
class BMidiSynthFile : public BMidiSynth
{
public:
@@ -55,7 +57,9 @@ private:
virtual void _ReservedMidiSynthFile2();
virtual void _ReservedMidiSynthFile3();
uint32 _reserved[4];
BMidiStore* store;
int32 _reserved[3];
};
#endif // _MIDI_SYNTH_FILE