[Gcblue-commits] gcb_wx/src/common tcOggStreamer.cpp,1.12,1.13 tcSound.cpp,1.18,1.19
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-01-10 00:31:03
|
Update of /cvsroot/gcblue/gcb_wx/src/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27845/src/common Modified Files: tcOggStreamer.cpp tcSound.cpp Log Message: Fixed group commands Index: tcOggStreamer.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/common/tcOggStreamer.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** tcOggStreamer.cpp 7 Dec 2004 04:00:28 -0000 1.12 --- tcOggStreamer.cpp 10 Jan 2005 00:30:46 -0000 1.13 *************** *** 290,294 **** { ! alSourceStop(source); alSourcePlay(source); // crashes frequently in OpenAL32.dll thread after here --- 290,294 ---- { ! //alSourceStop(source); alSourcePlay(source); // crashes frequently in OpenAL32.dll thread after here *************** *** 296,300 **** fprintf(stderr, "tcOggStreamer::Update - Restarting source\n"); #endif ! return true; } --- 296,300 ---- fprintf(stderr, "tcOggStreamer::Update - Restarting source\n"); #endif ! //return true; } Index: tcSound.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/common/tcSound.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** tcSound.cpp 7 Nov 2004 03:40:43 -0000 1.18 --- tcSound.cpp 10 Jan 2005 00:30:46 -0000 1.19 *************** *** 112,115 **** --- 112,117 ---- LoadWavDataFromFile("radar_on.wav", SEFFECT_RADARON); LoadWavDataFromFile("radar_off.wav", SEFFECT_RADAROFF); + LoadWavDataFromFile("torpedo_launch.wav", SEFFECT_TORPEDOLAUNCH); + LoadWavDataFromFile("shishding.wav", SEFFECT_SONARDETECT); if((alGetError())!=AL_NO_ERROR) |