目次

Wwise SDK 2019.1.6
AkInitSettings 構造体

公開変数類

AkAssertHook  pfnAssertHook
  External assertion handling function (optional) [詳解]
 
AkUInt32  uMaxNumPaths
  Maximum number of paths for positioning [詳解]
 
AkUInt32  uDefaultPoolSize
  Size of the default memory pool, in bytes [詳解]
 
AkReal32  fDefaultPoolRatioThreshold
  0.0f to 1.0f value: The percentage of occupied memory where the sound engine should enter in Low memory Mode. メモリしきい値の定義 [詳解]
 
AkUInt32  uCommandQueueSize
  Size of the command queue, in bytes [詳解]
 
AkMemPoolId  uPrepareEventMemoryPoolID
  Memory pool where data allocated by AK::SoundEngine::PrepareEvent() and AK::SoundEngine::PrepareGameSyncs() will be done. [詳解]
 
bool  bEnableGameSyncPreparation
  Sets to true to enable AK::SoundEngine::PrepareGameSync usage. [詳解]
 
AkUInt32  uContinuousPlaybackLookAhead
  Default is 1 audio quantum, also known as an audio frame. Its size is equal to AkInitSettings::uNumSamplesPerFrame / AkPlatformInitSettings::uSampleRate. For many platforms the default values - which can be overridden - are respectively 1,024 samples and 48 kHz. This gives a default 21.3 ms for an audio quantum, which is adequate if you have a RAM-based streaming device that completes transfers within 20 ms. With 1 look-ahead quantum, voices spawned by continuous containers are more likely to be ready when they are required to play, thereby improving the overall precision of sound scheduling. If your device completes transfers in 30 ms instead, you might consider increasing this value to 2 because it will grant new voices 2 audio quanta (~43 ms) to fetch data. [詳解]
 
AkUInt32  uNumSamplesPerFrame
  Number of samples per audio frame (256, 512, 1024, or 2048). [詳解]
 
AkUInt32  uMonitorPoolSize
  Size of the monitoring pool, in bytes. This parameter is not used in Release build. [詳解]
 
AkUInt32  uMonitorQueuePoolSize
  Size of the monitoring queue pool, in bytes. This parameter is not used in Release build. [詳解]
 
AkOutputSettings  settingsMainOutput
  Main output device settings. [詳解]
 
AkUInt32  uMaxHardwareTimeoutMs
  Amount of time to wait for HW devices to trigger an audio interrupt. If there is no interrupt after that time, the sound engine will revert to silent mode and continue operating until the HW finally comes back. Default value: 2000 (2 seconds) [詳解]
 
bool  bUseSoundBankMgrThread
  Use a separate thread for loading sound banks. Allows asynchronous operations. [詳解]
 
bool  bUseLEngineThread
  Use a separate thread for processing audio. If set to false, audio processing will occur in RenderAudio(). オーディオレンダリングのカスタムスケジューリング [詳解]
 
AkBackgroundMusicChangeCallbackFunc  BGMCallback
  Application-defined audio source change event callback function. [詳解]
 
void *  BGMCallbackCookie
  Application-defined user data for the audio source change event callback function. [詳解]
 
AkOSChar szPluginDLLPath
  When using DLLs for plugins, specify their path. Leave NULL if DLLs are in the same folder as the game executable. [詳解]
 
AkFloorPlane  eFloorPlane
  Floor plane axis for 3D game object viewing. [詳解]
 
AkTaskSchedulerDesc  taskSchedulerDesc
  The defined client task scheduler that AkSoundEngine will use to schedule internal tasks. [詳解]
 

詳解

Platform-independent initialization settings of the sound engine

参照

AkSoundEngine.h198 行目に定義があります。


この構造体詳解は次のファイルから抽出されました: