diff options
author | Callum Prentice <callum@lindenlab.com> | 2021-03-10 11:59:23 -0800 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2021-03-10 11:59:23 -0800 |
commit | 45af049a479928208a1ad30a90c1db6be1969f9a (patch) | |
tree | e40aabda6866b3ca163e0ffe86127fd49332278a /indra/llaudio/llaudioengine.h | |
parent | b1add74c31cfd28c1e671470991254b4545fb573 (diff) | |
parent | 88d837c16e768c5262073a7df965066d4bd8842c (diff) |
Merge branch 'master' into DRTVWR-531
Diffstat (limited to 'indra/llaudio/llaudioengine.h')
-rw-r--r-- | indra/llaudio/llaudioengine.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/llaudio/llaudioengine.h b/indra/llaudio/llaudioengine.h index 577b36d667..97674f15f7 100644 --- a/indra/llaudio/llaudioengine.h +++ b/indra/llaudio/llaudioengine.h @@ -50,6 +50,15 @@ const F32 DEFAULT_MIN_DISTANCE = 2.0f; #define MAX_CHANNELS 30 #define MAX_BUFFERS 40 // Some extra for preloading, maybe? +// This define is intended to allow us to switch from os based wav +// file loading to vfs based wav file loading. The problem is that I +// am unconvinced that the LLWaveFile works for loading sounds from +// memory. So, until that is fixed up, changed, whatever, this remains +// undefined. +//#define USE_WAV_VFILE + +class LLVFS; + class LLAudioSource; class LLAudioData; class LLAudioChannel; @@ -58,9 +67,11 @@ class LLAudioBuffer; class LLStreamingAudioInterface; struct SoundData; + // // LLAudioEngine definition // + class LLAudioEngine { friend class LLAudioChannelOpenAL; // bleh. channel needs some listener methods. @@ -171,7 +182,7 @@ public: // Asset callback when we're retrieved a sound from the asset server. void startNextTransfer(); - static void assetCallback(const LLUUID &uuid, LLAssetType::EType type, void *user_data, S32 result_code, LLExtStat ext_status); + static void assetCallback(LLVFS *vfs, const LLUUID &uuid, LLAssetType::EType type, void *user_data, S32 result_code, LLExtStat ext_status); friend class LLPipeline; // For debugging public: |