版本

menu_open

AkInitializer Class Reference

List of all members.

Public Attributes

string  basePath = c_DefaultBasePath
  Path for the soundbanks. This must contain one sub folder per platform, with the same as in the Wwise project.
string  language = c_Language
  Language sub-folder.
int  defaultPoolSize = c_DefaultPoolSize
  Default Pool size. This contains the meta data for your audio project. Default size is 4 MB, but you should adjust for your needs.
int  lowerPoolSize = c_LowerPoolSize
  Lower Pool size. This contains the audio processing buffers and DSP data. Default size is 2 MB, but you should adjust for your needs.
int  streamingPoolSize = c_StreamingPoolSize
  Streaming Pool size. This contains the streaming buffers. Default size is 1 MB, but you should adjust for your needs.
int  preparePoolSize = c_PreparePoolSize
  Prepare Pool size. This contains the banks loaded using PrepareBank (Banks decoded on load use this). Default size is 0 MB, but you should adjust for your needs.
float  memoryCutoffThreshold = c_MemoryCutoffThreshold
  This setting will trigger the killing of sounds when the memory is reaching 95% of capacity. Lowest priority sounds are killed.
bool  engineLogging = c_EngineLogging
  Enable Wwise engine logging. Option to turn on/off the logging of the Wwise engine.

Detailed Description

This script deals with initialization, and frame updates of the Wwise audio engine. It is marked as DontDestroyOnLoad so it stays active for the life of the game, not only one scene. You can, and probably should, modify this script to change the initialization parameters for the sound engine. A few are already exposed in the property inspector. It must be present on one Game Object at the beginning of the game to initialize the audio properly. It must be executed BEFORE any other MonoBehaviors that use AkSoundEngine.

See also:
  • workingwithsdks_initialization
  • AK::SoundEngine::Init()
  • AK::SoundEngine::Term()
  • AkCallbackManager
Generated on Tue Aug 23 02:45:00 2016 for Wwise Unity Integration by  doxygen 1.6.3

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅