버전
menu

대상 플랫폼:
Wwise SDK 2019.2.15
Android-Specific AkPlatformInitSettings

This page contains information about the Android-specific initialization settings.

AkThreadProperties threadLEngine Lower engine threading properties.
AkThreadProperties threadOutputMgr Ouput thread threading properties.
AkThreadProperties threadBankManager Bank manager threading properties (its default priority is AK_THREAD_PRIORITY_NORMAL).
AkThreadProperties threadMonitor Monitor threading properties (its default priority is AK_THREAD_PRIORITY_ABOVENORMAL). This parameter is not used in Release build.
AkAudioAPI eAudioAPI Main audio API to use. Leave to AkAudioAPI_Default for the default sink (default value).
AkAudioAPI
AkUInt32 uSampleRate Sampling Rate. Set to 0 to get the native sample rate. Default value is 0.
AkUInt16 uNumRefillsInVoice Number of refill buffers in voice buffer. Defaults to 4.
AkChannelMask uChannelMask use AK_SPEAKER_SETUP_STEREO.
bool bRoundFrameSizeToHWSize Used when hardware-preferred frame size and user-preferred frame size (AkInitSettings.uNumSamplesPerFrame) are not compatible.
If true (default) the sound engine will initialize to a multiple of the HW setting, close to the user setting.
If false, the user setting is used as is, regardless of the HW preference (might incur a performance hit).
SLObjectItf pSLEngine OpenSL engine reference for sharing between various audio components.
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.
jobject jActivity android.app.Activity instance for this application. Usually provided through the android_app structure, or through other means if your application has an overridden activity.

Android-Specific Audio Output API

Use with AkPlatformInitSettings to select the API used for audio output. Use AkAudioAPI_Default, it will select the more appropriate API depending on the computer's capabilities. Other values should be used for testing purposes.

enum AkAudioAPI
AkAudioAPI_AAudio Use AAudio (lower latency, available only for Android 8.1 or above).
AkAudioAPI_OpenSL_ES Use OpenSL ES (older API, compatible with all Android devices).
AkAudioAPI_Default Default value, will select the more appropriate API (AAudio for compatible devices, OpenSL for others).
참고
AK::SoundEngine::Init
AK::SoundEngine::GetDefaultPlatformInitSettings

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요