Advertisement
Guest User

wwise.h

a guest
Aug 6th, 2021
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.02 KB | None | 0 0
  1. #pragma once
  2. #include <AK/SoundEngine/Win32/AkFilePackageLowLevelIOBlocking.h>   // sample low-level I/O implementation
  3.  
  4. namespace AdventureEngine {
  5.     class WwiseManager {
  6.         public:
  7.         WwiseManager();
  8.         ~WwiseManager();
  9.         bool InitSoundEngine();
  10.         void Post(AkUniqueID eventId, AkGameObjectID gameObjectId, AkCallbackFunc callback = (AkCallbackFunc)0);
  11.         const AkGameObjectID Listener = 0;
  12.         const AkGameObjectID MusController = 1;
  13.        
  14.         private:
  15.         // Using the  default Low-Level I/O implementation that's part of the SDK's sample code,
  16.         // with file package extension
  17.         CAkDefaultIOHookBlocking g_lowLevelIO;
  18.         bool InitMemoryManager();
  19.         bool InitStreamingManager();
  20.         bool CreateSoundEngine();
  21.         bool InitMusicEngine();
  22.         bool InitSpatialAudio();
  23.         bool LoadBanks();
  24.         bool RegisterObjects();
  25.         bool UnregisterObjects();
  26.  
  27. #ifndef AK_OPTIMIZED
  28.  
  29.         //bool InitComms();
  30.  
  31. #endif
  32.     };
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement