[Scummvm-cvs-logs] CVS: scummvm/gob sound.cpp,1.6,1.7

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Fri Apr 29 08:15:25 CEST 2005


Update of /cvsroot/scummvm/scummvm/gob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31644

Modified Files:
	sound.cpp 
Log Message:
Added comment.


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/sound.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- sound.cpp	29 Apr 2005 10:07:00 -0000	1.6
+++ sound.cpp	29 Apr 2005 15:13:21 -0000	1.7
@@ -35,6 +35,14 @@
 void snd_stopSound(int16 arg){return;}
 void snd_setResetTimerFlag(char flag){return;}
 
+// This is mostly to see if we are interpreting the sound effects correctly. If
+// we want to implement looping etc. we're probably going to need something a
+// bit more elaborate.
+//
+// Currently we ignore looping completely. We also ignore samples with negative
+// sample frequency. Something wacky is going on here, and I don't think it's
+// a simple signed/unsigned issue.
+
 void snd_playSample(Snd_SoundDesc *sndDesc, int16 repCount, int16 frequency) {
 	if (repCount != 1)
 		warning("snd_playSample: repCount = %d - not implemented", repCount);





More information about the Scummvm-git-logs mailing list