[Scummvm-cvs-logs] scummvm master -> bb3d1f2738ccd3fd5a06a2570d23c27a11589288
lordhoto
lordhoto at gmail.com
Fri Aug 12 03:26:05 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bb3d1f2738 AUDIO: Replace macro in emumidi code with enum.
Commit: bb3d1f2738ccd3fd5a06a2570d23c27a11589288
https://github.com/scummvm/scummvm/commit/bb3d1f2738ccd3fd5a06a2570d23c27a11589288
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-08-11T18:22:01-07:00
Commit Message:
AUDIO: Replace macro in emumidi code with enum.
Changed paths:
audio/softsynth/emumidi.h
diff --git a/audio/softsynth/emumidi.h b/audio/softsynth/emumidi.h
index f3d7645..f72dad7 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;
More information about the Scummvm-git-logs
mailing list