版本

menu_open

◆ AkAudioAPI

enum AkAudioAPI

< API used for audio output Use with AkPlatformInitSettings to select the API used for audio output. The selected API may be ignored if the device does not support it. Use AkAPI_Default, it will select the more appropriate API depending on the device's capabilities. Other values should be used for testing purposes.

参见
AK::SoundEngine::Init
枚举值
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_Last 

End of enum, invalid value.

AkAudioAPI_Default 

Default value, will select the more appropriate API (AAudio for compatible devices, OpenSL for others)

AkAudioAPI_AVAudioEngine 

Use AVFoundation framework (modern, has more capabilities, not available for iOS/tvOS 12 or below)

AkAudioAPI_AudioUnit 

Use AudioUnit framework (basic functionality, compatible with all iOS devices)

AkAudioAPI_Default 

Default value, will select the more appropriate API (AVAudioEngine for compatible devices, AudioUnit for others)

AkAudioAPI_AVAudioEngine 

Use AVFoundation framework (modern, has more capabilities, available only for macOS 10.15 or above)

AkAudioAPI_AudioUnit 

Use AudioUnit framework (basic functionality, compatible with all macOS devices)

AkAudioAPI_Default 

Default value, will select the more appropriate API (AVAudioEngine for compatible devices, AudioUnit for others)

AkAPI_PulseAudio 

Use PulseAudio (this is the preferred API on Linux)

AkAPI_ALSA 

Use ALSA

AkAPI_Default 

Default value, will select the more appropriate API

在文件 AkMacSoundEngine.h42 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅