aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
authorJohannes Schickel2011-08-12 03:22:01 +0200
committerJohannes Schickel2011-08-12 03:22:01 +0200
commitbb3d1f2738ccd3fd5a06a2570d23c27a11589288 (patch)
tree3646b7dd76a569041826cc53cd84eda8a8a3efc0 /audio/softsynth
parent30d0010b9e14cc5b959cef825fabf4de86bff6f1 (diff)
downloadscummvm-rg350-bb3d1f2738ccd3fd5a06a2570d23c27a11589288.tar.gz
scummvm-rg350-bb3d1f2738ccd3fd5a06a2570d23c27a11589288.tar.bz2
scummvm-rg350-bb3d1f2738ccd3fd5a06a2570d23c27a11589288.zip
AUDIO: Replace macro in emumidi code with enum.
Diffstat (limited to 'audio/softsynth')
-rw-r--r--audio/softsynth/emumidi.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/softsynth/emumidi.h b/audio/softsynth/emumidi.h
index f3d7645f87..f72dad7eaf 100644
--- a/audio/softsynth/emumidi.h
+++ b/audio/softsynth/emumidi.h
@@ -26,8 +26,6 @@
#include "audio/mididrv.h"
#include "audio/mixer.h"
-#define FIXP_SHIFT 16
-
class MidiDriver_Emulated : public Audio::AudioStream, public MidiDriver {
protected:
bool _isOpen;
@@ -38,6 +36,10 @@ private:
Common::TimerManager::TimerProc _timerProc;
void *_timerParam;
+ enum {
+ FIXP_SHIFT = 16
+ };
+
int _nextTick;
int _samplesPerTick;