[Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse_track.cpp,1.12,1.13

Pawel Kolodziejski aquadran at users.sourceforge.net
Tue Apr 27 10:32:08 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm/imuse_digi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20630

Modified Files:
	dimuse_track.cpp 
Log Message:
that is not need anymore

Index: dimuse_track.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse_digi/dimuse_track.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dimuse_track.cpp	26 Apr 2004 21:29:49 -0000	1.12
+++ dimuse_track.cpp	27 Apr 2004 17:31:28 -0000	1.13
@@ -136,14 +136,6 @@
 				assert(channels == 1 || channels == 2);
 				assert(0 < freq && freq <= 65535);
 
-				// Round the frequency to a multiple of 25. This is done to 
-				// ensure we don't run into data under-/overflows (this is a
-				// design limitation of the current IMuseDigital code, which
-				// pushes data 'blindly' into the mixer, instead of providing
-				// a pull based interface, i.e. a custom AudioInputStream
-				// subclass).
-				freq -= (freq % 25);
-
 				_track[l]->iteration = freq * channels;
 				if (channels == 2)
 					_track[l]->mixerFlags = SoundMixer::FLAG_STEREO | SoundMixer::FLAG_REVERSE_STEREO;





More information about the Scummvm-git-logs mailing list