Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.8.8601 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Avertissement : certains renseignements protégés ne sont pas affichés sur cette page.
Assurez-vous d'être connecté si vous êtes un utilisateur avec une license pour des plateformes en particulier.
Wwise SDK 2023.1.8
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().

OpenHarmony

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

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


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise