aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32/Structures.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/mt32/Structures.h')
-rw-r--r--audio/softsynth/mt32/Structures.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/softsynth/mt32/Structures.h b/audio/softsynth/mt32/Structures.h
index 43d2d1f226..421e427fc0 100644
--- a/audio/softsynth/mt32/Structures.h
+++ b/audio/softsynth/mt32/Structures.h
@@ -38,6 +38,12 @@ typedef signed short int Bit16s;
typedef unsigned char Bit8u;
typedef signed char Bit8s;
+#if MT32EMU_USE_FLOAT_SAMPLES
+typedef float Sample;
+#else
+typedef Bit16s Sample;
+#endif
+
// The following structures represent the MT-32's memory
// Since sysex allows this memory to be written to in blocks of bytes,
// we keep this packed so that we can copy data into the various