aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorMax Horn2006-06-24 09:34:49 +0000
committerMax Horn2006-06-24 09:34:49 +0000
commit75628fe9d7fa636da792d278b36396c3934ddf0e (patch)
tree2b206b49fcea8d913ddd0bc26347026242b1fce5 /sound/softsynth
parentff1566754407dea6b44e7687634850475aa2ccf2 (diff)
downloadscummvm-rg350-75628fe9d7fa636da792d278b36396c3934ddf0e.tar.gz
scummvm-rg350-75628fe9d7fa636da792d278b36396c3934ddf0e.tar.bz2
scummvm-rg350-75628fe9d7fa636da792d278b36396c3934ddf0e.zip
Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
svn-id: r23278
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/emumidi.h4
-rw-r--r--sound/softsynth/mt32.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/sound/softsynth/emumidi.h b/sound/softsynth/emumidi.h
index 89124b8024..557e9b04cc 100644
--- a/sound/softsynth/emumidi.h
+++ b/sound/softsynth/emumidi.h
@@ -32,7 +32,7 @@ protected:
Audio::Mixer *_mixer;
private:
- Common::Timer::TimerProc _timerProc;
+ Common::TimerManager::TimerProc _timerProc;
void *_timerParam;
int _nextTick;
@@ -70,7 +70,7 @@ public:
return 0;
}
- void setTimerCallback(void *timer_param, Common::Timer::TimerProc timer_proc) {
+ void setTimerCallback(void *timer_param, Common::TimerManager::TimerProc timer_proc) {
_timerProc = timer_proc;
_timerParam = timer_param;
}
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp
index 1f3434c581..57ab87cb08 100644
--- a/sound/softsynth/mt32.cpp
+++ b/sound/softsynth/mt32.cpp
@@ -391,7 +391,7 @@ class MidiDriver_ThreadedMT32 : public MidiDriver_MT32 {
private:
OSystem::Mutex _eventMutex;
MidiEvent_MT32 *_events;
- Timer::TimerProc _timer_proc;
+ TimerManager::TimerProc _timer_proc;
void pushMidiEvent(MidiEvent_MT32 *event);
MidiEvent_MT32 *popMidiEvent();
@@ -405,7 +405,7 @@ public:
void onTimer();
void close();
- void setTimerCallback(void *timer_param, Timer::TimerProc timer_proc);
+ void setTimerCallback(void *timer_param, TimerManager::TimerProc timer_proc);
};
@@ -421,7 +421,7 @@ void MidiDriver_ThreadedMT32::close() {
}
}
-void MidiDriver_ThreadedMT32::setTimerCallback(void *timer_param, Timer::TimerProc timer_proc) {
+void MidiDriver_ThreadedMT32::setTimerCallback(void *timer_param, TimerManager::TimerProc timer_proc) {
if (!_timer_proc || !timer_proc) {
if (_timer_proc)
g_timer->removeTimerProc(_timer_proc);