Implemented support classes for the softsynth.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7566 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit 2004-05-13 16:47:34 +00:00
parent fbaf754a21
commit 1b13b75f49
2 changed files with 15 additions and 3 deletions

View File

@ -66,7 +66,7 @@ protected:
void* fSongVariables;
void* fPerformanceVariables;
bool fMidiQueue;
private:
friend class BSynth;
@ -78,7 +78,11 @@ private:
virtual void Run();
uint32 _reserved[4];
bigtime_t creationTime;
int16 transpose;
bool inputEnabled;
uint32 _reserved;
};
#endif // _MIDI_SYNTH_H

View File

@ -32,6 +32,8 @@ typedef void (*synth_controller_hook) (
class BMidiSynth;
class BMidiSynthFile;
namespace BPrivate { class BSoftSynth; }
class BSynth
{
public:
@ -93,7 +95,13 @@ private:
virtual void _ReservedSynth3();
virtual void _ReservedSynth4();
uint32 _reserved[13];
void Init();
BPrivate::BSoftSynth* synth;
synth_mode synthMode;
int32 clientCount;
uint32 _reserved[10];
};
extern _IMPEXP_MIDI BSynth* be_synth;