aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llaudio/audioengine_fmod.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:54 -0500
committerJacek Antonelli2008-08-15 23:45:54 -0500
commitd0b03a62fd799317d5da0bd56615739ce3b5b052 (patch)
tree8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/llaudio/audioengine_fmod.cpp
parentSecond Life viewer sources 1.20.8 (diff)
downloadmeta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz
Second Life viewer sources 1.20.9
Diffstat (limited to 'linden/indra/llaudio/audioengine_fmod.cpp')
-rw-r--r--linden/indra/llaudio/audioengine_fmod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llaudio/audioengine_fmod.cpp b/linden/indra/llaudio/audioengine_fmod.cpp
index 271074e..cc2042d 100644
--- a/linden/indra/llaudio/audioengine_fmod.cpp
+++ b/linden/indra/llaudio/audioengine_fmod.cpp
@@ -538,7 +538,7 @@ void LLAudioChannelFMOD::update3DPosition()
538 float_pos.setVec(mCurrentSourcep->getPositionGlobal()); 538 float_pos.setVec(mCurrentSourcep->getPositionGlobal());
539 if (!FSOUND_3D_SetAttributes(mChannelID, float_pos.mV, mCurrentSourcep->getVelocity().mV)) 539 if (!FSOUND_3D_SetAttributes(mChannelID, float_pos.mV, mCurrentSourcep->getVelocity().mV))
540 { 540 {
541 llwarns << "LLAudioChannelFMOD::update3DPosition error: " << FMOD_ErrorString(FSOUND_GetError()) << llendl; 541 LL_DEBUGS("FMOD") << "LLAudioChannelFMOD::update3DPosition error: " << FMOD_ErrorString(FSOUND_GetError()) << LL_ENDL;
542 } 542 }
543 } 543 }
544} 544}
@@ -576,7 +576,7 @@ void LLAudioChannelFMOD::cleanup()
576 //llinfos << "Cleaning up channel: " << mChannelID << llendl; 576 //llinfos << "Cleaning up channel: " << mChannelID << llendl;
577 if (!FSOUND_StopSound(mChannelID)) 577 if (!FSOUND_StopSound(mChannelID))
578 { 578 {
579 llwarns << "LLAudioChannelFMOD::cleanup error: " << FMOD_ErrorString(FSOUND_GetError()) << llendl; 579 LL_DEBUGS("FMOD") << "LLAudioChannelFMOD::cleanup error: " << FMOD_ErrorString(FSOUND_GetError()) << llendl;
580 } 580 }
581 581
582 mCurrentBufferp = NULL; 582 mCurrentBufferp = NULL;