목차
Wwise SDK 2018.1.11
|
AkAndroidSoundEngine.h
Go to the documentation of this file.
51 AkThreadProperties threadBankManager; ///< Bank manager threading properties (its default priority is AK_THREAD_PRIORITY_NORMAL)
52 AkThreadProperties threadMonitor; ///< Monitor threading properties (its default priority is AK_THREAD_PRIORITY_ABOVENORMAL). This parameter is not used in Release build.
55 AkReal32 fLEngineDefaultPoolRatioThreshold; ///< 0.0f to 1.0f value: The percentage of occupied memory where the sound engine should enter in Low memory mode. \ref soundengine_initialization_advanced_soundengine_using_memory_threshold
58 AkUInt32 uSampleRate; ///< Sampling Rate. Set to 0 to get the native sample rate. Default value is 0.
61 bool bRoundFrameSizeToHWSize;///< Used when hardware-preferred frame size and user-preferred frame size (AkInitSettings.uNumSamplesPerFrame) are not compatible.
62 /// If true (default) the sound engine will initialize to a multiple of the HW setting, close to the user setting.
63 /// If false, the user setting is used as is, regardless of the HW preference (might incur a performance hit).
65 SLObjectItf pSLEngine; ///< OpenSL engine reference for sharing between various audio components.
66 JavaVM* pJavaVM; ///< Active JavaVM for the app, used for internal system calls. Usually provided through the android_app structure given at startup or the NativeActivity. This parameter needs to be set to allow the sound engine initialization.
67 jobject jNativeActivity; ///< NativeActivity instance for this application. Usually provided through the android_app structure, or through other means if your application has an overridden activity.
68 ///< This is optional. However, not providing this object will prevent the background music muting when player start his own music in an external player.
81 /// Gets specific settings for the fast audio path on Android. Call this function after AK::SoundEngine::GetDefaultSettings and AK::SoundEngine::GetPlatformDefaultSettings to modify settings for the fast path.
82 /// in_pfSettings.pJavaVM and in_pfSettings.jNativeActivity must be filled properly prior to calling GetFastPathSettings.
87 /// In general, using the fast path means a higher CPU usage. Complex audio designs may not be feasible while using the fast path.
88 AKRESULT GetFastPathSettings(AkInitSettings &in_settings, AkPlatformInitSettings &in_pfSettings);
AkThreadProperties threadBankManager
Bank manager threading properties (its default priority is AK_THREAD_PRIORITY_NORMAL)
Definition: AkAndroidSoundEngine.h:51
bool bRoundFrameSizeToHWSize
Definition: AkAndroidSoundEngine.h:61
AKRESULT GetFastPathSettings(AkInitSettings &in_settings, AkPlatformInitSettings &in_pfSettings)
SLObjectItf pSLEngine
OpenSL engine reference for sharing between various audio components.
Definition: AkAndroidSoundEngine.h:65
AkUInt32 uSampleRate
Sampling Rate. Set to 0 to get the native sample rate. Default value is 0.
Definition: AkAndroidSoundEngine.h:58
AkThreadProperties threadLEngine
Lower engine threading properties.
Definition: AkAndroidSoundEngine.h:49
Definition: AkAndroidSoundEngine.h:46
AkUInt32 AkChannelMask
Channel mask (similar to WAVE_FORMAT_EXTENSIBLE). Bit values are defined in AkSpeakerConfig....
Definition: AkTypes.h:90
AkUInt32 uLEngineDefaultPoolSize
Lower Engine default memory pool size.
Definition: AkAndroidSoundEngine.h:56
AkReal32 fLEngineDefaultPoolRatioThreshold
0.0f to 1.0f value: The percentage of occupied memory where the sound engine should enter in Low memo...
Definition: AkAndroidSoundEngine.h:55
SLObjectItf __cdecl GetWwiseOpenSLInterface()
Definition: AkSoundEngine.h:187
Definition: AkPlatformFuncs.h:48
jobject jNativeActivity
Definition: AkAndroidSoundEngine.h:67
AkUInt16 uNumRefillsInVoice
Number of refill buffers in voice buffer. Defaults to 4.
Definition: AkAndroidSoundEngine.h:59
JavaVM * pJavaVM
Active JavaVM for the app, used for internal system calls. Usually provided through the android_app s...
Definition: AkAndroidSoundEngine.h:66
AkThreadProperties threadOutputMgr
Ouput thread threading properties.
Definition: AkAndroidSoundEngine.h:50
AkThreadProperties threadMonitor
Monitor threading properties (its default priority is AK_THREAD_PRIORITY_ABOVENORMAL)....
Definition: AkAndroidSoundEngine.h:52