[Scummvm-cvs-logs] CVS: scummvm sound.cpp,1.65,1.66

James Brown ender at users.sourceforge.net
Mon Apr 29 03:43:05 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv18217

Modified Files:
	sound.cpp 
Log Message:
Fix compile issue.



Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** sound.cpp	29 Apr 2002 09:28:47 -0000	1.65
--- sound.cpp	29 Apr 2002 10:42:53 -0000	1.66
***************
*** 756,760 ****
  			  decompressed packet to the mixer.. but the packet
  			  actually contains further subblocks! (eg, sync) */
! 	_mixer->play_raw(NULL, CompFinal, finalSize,22050, SoundMixer::FLAG_UNSIGNED|SoundMixer::FLAG_AUTOFREE);
  }
  
--- 756,760 ----
  			  decompressed packet to the mixer.. but the packet
  			  actually contains further subblocks! (eg, sync) */
! 	_mixer->play_raw(NULL, CompFinal, finalSize,22050, SoundMixer::FLAG_AUTOFREE|SoundMixer::FLAG_UNSIGNED);
  }
  
***************
*** 762,766 ****
  {
  	for (int i=0; i < num_sound_effects; i++) {
! 		if (!stricmp(sound, bundle_table[i].filename)) {
  			decompressBundleSound(i);
  			return;
--- 762,766 ----
  {
  	for (int i=0; i < num_sound_effects; i++) {
! 		if (!scumm_stricmp(sound, bundle_table[i].filename)) {
  			decompressBundleSound(i);
  			return;





More information about the Scummvm-git-logs mailing list