arrow_right Table des matières

Autre Documentation

Wwise SDK 2018.1.11

◆ GetFastPathSettings()

AKRESULT AK::SoundEngine::GetFastPathSettings ( AkInitSettings in_settings,
AkPlatformInitSettings in_pfSettings 

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. in_pfSettings.pJavaVM and in_pfSettings.jNativeActivity must be filled properly prior to calling GetFastPathSettings. The fast path constraints are: -The sample rate must match the hardware native sample rate -The number of samples per frame must be a multiple of the hardware buffer size. Not fulfilling these constraints makes the audio hardware less efficient. In general, using the fast path means a higher CPU usage. Complex audio designs may not be feasible while using the fast path.