Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Target Platform(s):
Wwise SDK 2022.1.17
Linux-Specific AkPlatformInitSettings

This page contains information about the Linux-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.
AkUInt32 uSampleRate Sampling Rate. Default 48000 Hz.
AkUInt16 uNumRefillsInVoice Number of refill buffers in voice buffer. 2 == double-buffered, defaults to 4.
AkAudioAPI eAudioAPI Main audio API to use. Leave to AkAPI_Default for the default sink (default value).
If a valid audioDeviceShareset plug-in is provided, the AkAudioAPI will be Ignored.
AkAudioAPI
AkDataTypeID sampleType Sample type. AK_FLOAT for 32 bit float, AK_INT for 16 bit signed integer, defaults to AK_FLOAT.
Supported by AkAPI_PulseAudio only.

Linux-Specific Audio Output API

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

enum AkAudioAPI
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.
See also
AK::SoundEngine::Init
AK::SoundEngine::GetDefaultPlatformInitSettings

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise