From: Laszlo T. <ave...@us...> - 2005-03-25 21:30:48
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/ACMImporter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4596/ACMImporter Modified Files: ACMImp.cpp ACMImp.h Log Message: Added bool CanPlay() to SoundMgr MVEPlayer now doesn't stuff the audio buffer with data if there is no capable soundmanager (mveplayer should use the soundmanager, though). Fixed my previous 'fix' of g_screen Index: ACMImp.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/ACMImporter/ACMImp.cpp,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** ACMImp.cpp 23 Feb 2005 20:47:00 -0000 1.60 --- ACMImp.cpp 25 Mar 2005 21:30:36 -0000 1.61 *************** *** 520,523 **** --- 520,527 ---- } + bool ACMImp::CanPlay() + { + return true; + } void ACMImp::ResetMusics() { Index: ACMImp.h =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/ACMImporter/ACMImp.h,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** ACMImp.h 23 Feb 2005 20:47:00 -0000 1.29 --- ACMImp.h 25 Mar 2005 21:30:37 -0000 1.30 *************** *** 71,74 **** --- 71,75 ---- bool Play(); bool Stop(); + bool CanPlay(); void ResetMusics(); void UpdateViewportPos(int XPos, int YPos); |