123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #pragma once
- #include "Wwise/WwiseSoundBankManager.h"
- #include "Wwise/CookedData/WwiseSoundBankCookedData.h"
- #include "Wwise/WwiseFileState.h"
- #include "Wwise/WwiseFileHandlerBase.h"
- class WWISEFILEHANDLER_API FWwiseSoundBankManagerImpl : public IWwiseSoundBankManager, public FWwiseFileHandlerBase
- {
- public:
- FWwiseSoundBankManagerImpl();
- ~FWwiseSoundBankManagerImpl() override;
- const TCHAR* GetManagingTypeName() const override { return TEXT("SoundBank"); }
- void LoadSoundBank(const FWwiseSoundBankCookedData& InSoundBankCookedData, const FString& InRootPath, FLoadSoundBankCallback&& InCallback) override;
- void UnloadSoundBank(const FWwiseSoundBankCookedData& InSoundBankCookedData, const FString& InRootPath, FUnloadSoundBankCallback&& InCallback) override;
- void SetGranularity(AkUInt32 InStreamingGranularity) override;
- IWwiseStreamingManagerHooks& GetStreamingHooks() final { return *this; }
- protected:
- uint32 StreamingGranularity;
- virtual FWwiseFileStateSharedPtr CreateOp(const FWwiseSoundBankCookedData& InSoundBankCookedData, const FString& InRootPath);
- };
|