[Scummvm-cvs-logs] CVS: scummvm sound.cpp,1.45,1.46

Lionel Ulmer bbrox at users.sourceforge.net
Tue Apr 16 12:53:18 CEST 2002


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

Modified Files:
	sound.cpp 
Log Message:
Proper commit now for MP3 sound support....


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** sound.cpp	16 Apr 2002 12:18:50 -0000	1.45
--- sound.cpp	16 Apr 2002 18:33:03 -0000	1.46
***************
*** 584,588 ****
  void Scumm::playSfxSound_MP3(void *sound, uint32 size)
  {
! 	/* BBrox: Fix this... There -is- no play_mp3 function :) */
! //	_mixer->play_mp3(NULL, sound, size, SoundMixer::FLAG_AUTOFREE);
  }
--- 584,591 ----
  void Scumm::playSfxSound_MP3(void *sound, uint32 size)
  {
! #ifdef COMPRESSED_SOUND_FILE
! 	_mixer->play_mp3(NULL, sound, size, SoundMixer::FLAG_AUTOFREE);
! #else
! 	error("Should never happen !!!");
! #endif
  }





More information about the Scummvm-git-logs mailing list