aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/mt32/Structures.h
diff options
context:
space:
mode:
authorFilippos Karapetis2013-08-21 03:41:30 +0300
committerFilippos Karapetis2013-08-21 03:41:30 +0300
commit00992c1e68444a8123ffc89a971751cecf7287ed (patch)
treed94b5d13fb8fd5d1e453ee73b69225f975545c39 /audio/softsynth/mt32/Structures.h
parenta07e83cb6f30c1dca794bbc0ca82fdc71e496fcb (diff)
downloadscummvm-rg350-00992c1e68444a8123ffc89a971751cecf7287ed.tar.gz
scummvm-rg350-00992c1e68444a8123ffc89a971751cecf7287ed.tar.bz2
scummvm-rg350-00992c1e68444a8123ffc89a971751cecf7287ed.zip
MT-32: Sync with the latest changes in munt
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