aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llaudio
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llaudio')
-rw-r--r--linden/indra/llaudio/audioengine.cpp2
-rw-r--r--linden/indra/llaudio/audioengine_fmod.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/llaudio/audioengine.cpp b/linden/indra/llaudio/audioengine.cpp
index 021c940..05636c1 100644
--- a/linden/indra/llaudio/audioengine.cpp
+++ b/linden/indra/llaudio/audioengine.cpp
@@ -1621,6 +1621,8 @@ LLAudioData::LLAudioData(const LLUUID &uuid) :
1621 // This is a null sound. 1621 // This is a null sound.
1622 return; 1622 return;
1623 } 1623 }
1624 llassert_always(gAudiop) ;
1625 llassert_always(gAssetStorage) ;
1624 1626
1625 if (gAudiop->hasDecodedFile(uuid)) 1627 if (gAudiop->hasDecodedFile(uuid))
1626 { 1628 {
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;