summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudioengine.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@gmail.com>2020-09-24 14:45:39 -0700
committerCallum Prentice <callum@gmail.com>2020-09-24 14:45:39 -0700
commit6be1f88a5ef99e1e40bb5701a250ba0728f56005 (patch)
treea6d12f9b2f25b4b295999e6f18df422096aa25ca /indra/llaudio/llaudioengine.cpp
parent96e2873bfa2c6b8823aed3b4190c43cd5dab54e6 (diff)
Complete the change from lldiskcache -> llfilesystem and then addition of new lldiskcache implementation
Diffstat (limited to 'indra/llaudio/llaudioengine.cpp')
-rw-r--r--indra/llaudio/llaudioengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llaudio/llaudioengine.cpp b/indra/llaudio/llaudioengine.cpp
index 9dd752f492..d35f249973 100644
--- a/indra/llaudio/llaudioengine.cpp
+++ b/indra/llaudio/llaudioengine.cpp
@@ -35,7 +35,7 @@
#include "sound_ids.h" // temporary hack for min/max distances
-#include "lldiskcache.h"
+#include "llfilesystem.h"
#include "lldir.h"
#include "llaudiodecodemgr.h"
#include "llassetstorage.h"
@@ -1015,7 +1015,7 @@ bool LLAudioEngine::hasDecodedFile(const LLUUID &uuid)
bool LLAudioEngine::hasLocalFile(const LLUUID &uuid)
{
// See if it's in the cache.
- bool have_local = LLDiskCache::getExists(uuid, LLAssetType::AT_SOUND);
+ bool have_local = LLFileSystem::getExists(uuid, LLAssetType::AT_SOUND);
LL_DEBUGS("AudioEngine") << "sound uuid " << uuid << " exists in cache" << LL_ENDL;
return have_local;
}