From c6568530bd6d558045c912c6318d1d7d8a60a39d Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Fri, 23 May 2003 04:19:47 +0000 Subject: Revamped iMuse and Player classes. Player now uses MidiParser to parse its data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver". Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser). *** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! *** This has been tested through the intros and a number of other scenes from MI2, FOA and S&M. NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned.... svn-id: r7849 --- backends/midi/adlib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/midi') diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp index dc3898ed45..743930f8f4 100644 --- a/backends/midi/adlib.cpp +++ b/backends/midi/adlib.cpp @@ -564,9 +564,9 @@ public: void setTimerCallback (void *timer_param, void (*timer_proc) (void *)); uint32 getBaseTempo() { #ifdef _WIN32_WCE - return 0x1D9000 * 2; // Sampled down to 11 kHz + return 3991 * 2; // Sampled down to 11 kHz #else //_WIN32_WCE - return 0x1D9000; + return 3991; // 88 samples per call (at 22 kHz mono) #endif //_WIN32_WCE } -- cgit v1.2.3