From 00992c1e68444a8123ffc89a971751cecf7287ed Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 21 Aug 2013 03:41:30 +0300 Subject: MT-32: Sync with the latest changes in munt --- audio/softsynth/mt32/Structures.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'audio/softsynth/mt32/Structures.h') 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 -- cgit v1.2.3