summaryrefslogtreecommitdiff
path: root/muse2/synti/fluid/fluid.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-06-19 01:26:26 +0000
committerTim E. Real <termtech@rogers.com>2011-06-19 01:26:26 +0000
commit02941424387a064301372c12bda3e8c3ab3fee45 (patch)
treee4cdea4400d8a34060a1c4d2b32da8e7ef46ab90 /muse2/synti/fluid/fluid.h
parent448d81436ed8c2bc501506c2663a9bdb8c0dd023 (diff)
Major work, all synthesizers. Other fixes. Please see ChangeLog.
Diffstat (limited to 'muse2/synti/fluid/fluid.h')
-rw-r--r--muse2/synti/fluid/fluid.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/muse2/synti/fluid/fluid.h b/muse2/synti/fluid/fluid.h
index e80f1463..02b111e4 100644
--- a/muse2/synti/fluid/fluid.h
+++ b/muse2/synti/fluid/fluid.h
@@ -20,8 +20,9 @@
#include <list>
#include <fluidsynth.h>
#include "libsynti/mess.h"
+#include "common_defs.h"
-enum SfOp { SF_REPLACE = 1, SF_ADD, SF_REMOVE };
+//enum SfOp { SF_REPLACE = 1, SF_ADD, SF_REMOVE };
class FLUIDGui;
//---------------------------------------------------------
@@ -73,8 +74,12 @@ class ISynth : public Mess {
public:
ISynth();
- ~ISynth();
+ virtual ~ISynth();
+ // This is only a kludge required to support old songs' midistates. Do not use in any new synth.
+ // Note for Fluid, do nothing because unlike other synths, Fluid already had correct sysex headers.
+ //virtual int oldMidiStateHeader(const unsigned char** data) const;
+
fluid_synth_t* synth() { return _fluidsynth; }
const fluid_synth_t* synth() const { return _fluidsynth; }
char* getFont() const { return sfont; }