Fixed FMOD Ex support under linux

This commit is contained in:
Drake Arconis
2012-05-15 10:36:48 -04:00
parent 3d40f96dfe
commit 5a2d160ac4
6 changed files with 91 additions and 101 deletions

View File

@@ -1275,7 +1275,7 @@ void LLAudioEngine::assetCallback(LLVFS *vfs, const LLUUID &uuid, LLAssetType::E
// Need to mark data as bad to avoid constant rerequests.
LLAudioData *adp = gAudiop->getAudioData(uuid);
if (adp)
{
{
adp->setHasValidData(false);
adp->setHasLocalData(false);
adp->setHasDecodedData(false);
@@ -1292,8 +1292,8 @@ void LLAudioEngine::assetCallback(LLVFS *vfs, const LLUUID &uuid, LLAssetType::E
else
{
adp->setHasValidData(true);
adp->setHasLocalData(true);
gAudioDecodeMgrp->addDecodeRequest(uuid);
adp->setHasLocalData(true);
gAudioDecodeMgrp->addDecodeRequest(uuid);
}
}
gAudiop->mCurrentTransfer = LLUUID::null;