Version
menu_open
Warning : Some protected information on this page is not displayed.
Ensure you are logged in if you are a licensed user for specific platforms.
Wwise SDK 2023.1.4
Audio Output on Platforms

This section explains how Wwise sets up its audio pipeline for each platform.

Note: In all platforms, Wwise always outputs a PCM signal.

Windows

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:
  • Right-click the Speaker icon in the system tray
  • Select 'Playback Devices'
  • In the 'Sound' panel, select the device you want to use (use 'Set Default' to change the default.)
  • Click 'Configure' to change the configuration for the selected device
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.

Mac

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.

iOS/tvOS/visionOS

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.

Android

On Android, the primary output device will use a default panning rule of AkPanningRule_Headphones regardless of Spatial audio configuration.

  • When Android Spatial audio is disabled, Wwise always outputs a stereo signal.
  • When Android Spatial audio is enabled, Wwise outputs a multichannel 7.1.4 signal unless a mono or stereo configuration is specified in AkOutputSettings.

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().

Linux

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().


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