Wwise SDK 2024.1.0
|
This section explains how Wwise sets up its audio pipeline for each platform.
Note: In all platforms, Wwise always outputs a PCM signal. |
By default on Windows, Wwise takes the system default device's configuration. You can override the default configuration by changing AkInitSettings::settingsMainOutput
before calling AK::SoundEngine::Init()
.
By default, Wwise outputs at a sample rate of 48 kHz. You can override this sample rate by setting AkPlatformInitSettings::uSampleRate
when calling AK::SoundEngine::Init()
.
When Allow 3D Audio is enabled on the System Audio Device, Wwise can also output a 7.1.4 main mix, an optional stereo passthrough mix, and discrete Audio Objects. For more information on 3D Audio on Windows, see Enabling 3D Audio.
Tip: To change the default device configuration on Windows:
|
Tip: When using the Wwise Authoring tool, you can force a specific configuration by using the 'Audio' menu. Please refer to the user documentation for more information. |
By default on Mac, Wwise takes the system default device's configuration. You can override the default configuration by changing AkInitSettings::settingsMainOutput
before calling AK::SoundEngine::Init()
. Only Mono, Stereo, 5.1, and 7.1 are supported. If the audio device is incapable of outputting the requested configuration, Wwise will ignore the request and use the device's default configuration.
By default, Wwise outputs at a sample rate of 48 kHz. You can override this sample rate by setting AkPlatformInitSettings::uSampleRate
before calling AK::SoundEngine::Init()
.
When Allow 3D Audio is enabled on the System Audio Device, Wwise will use Apple Spatial Audio to output a multichannel mix regardless of the audio device configuration. For more information on 3D Audio on macOS, see 3D audio support using Apple Spatial Audio.
Tip: To change the default device configuration in Mac OS, go to Applications/Utilities/Audio MIDI Setup. |
By default on iOS and visionOS, Wwise outputs a stereo signal, and the primary output device will also use a default panning rule of AkPanningRule_Headphones
. On tvOS, Wwise takes the system's default configuration and will use a default panning rule of AkPanningRule_Speakers
.
On iOS/tvOS/visionOS, you can override the default configuration by changing AkInitSettings::settingsMainOutput
before calling AK::SoundEngine::Init()
. Only Mono, Stereo, 5.1, and 7.1 are supported. If the audio device is incapable of outputting the requested configuration, Wwise will ignore the request and use the device's default configuration.
Wwise will detect the default sample rate of the Audio Session when AK::SoundEngine::GetDefaultPlatformInitSettings
is called. You can override this sample rate by setting AkPlatformInitSettings::uSampleRate
when calling AK::SoundEngine::Init()
.
When Allow 3D Audio is enabled on the System Audio Device, Wwise will use Apple Spatial Audio to output a multichannel mix regardless of the audio device configuration. For more information on 3D Audio on iOS/tvOS/visionOS, see 3D audio support using Apple Spatial Audio.
On Android, the primary output device will use a default panning rule of AkPanningRule_Headphones
regardless of Spatial audio configuration.
Android Spatial audio can only be enabled when Allow 3D Audio is enabled on the System Audio Device and Android Spatial audio is enabled on the device (Android OS 13 and up).
By default, Wwise outputs at a sample rate of 48 kHz. You can override this sample rate by setting AkPlatformInitSettings::uSampleRate
when calling AK::SoundEngine::Init()
.
On OpenHarmony, the primary output device uses a default panning rule of AkPanningRule_Headphones
.
By default, Wwise outputs at a sample rate of 48 kHz. You can override this sample rate by setting AkPlatformInitSettings::uSampleRate
when calling AK::SoundEngine::Init()
.
On Linux, Wwise outputs a stereo or 5.1 signal.
By default, Wwise outputs at a sample rate of 48 kHz. You can override this sample rate by setting AkPlatformInitSettings::uSampleRate
when calling AK::SoundEngine::Init()
.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise