Version

menu_open
Wwise SDK 2023.1.3

◆ GetOutputDeviceConfiguration()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::GetOutputDeviceConfiguration ( AkOutputDeviceID  in_idOutput,
AkChannelConfig io_channelConfig,
Ak3DAudioSinkCapabilities io_capabilities 
)

Gets the configuration of the specified output device. Call this function to get the channel configuration of the output device as well as its 3D audio capabilities. If the configuration of the output device is object-based (io_channelConfig.eConfigType == AK_ChannelConfigType_Objects), io_capabilities can be inspected to determine the channel configuration of the main mix (Ak3DAudioSinkCapabilities::channelConfig), whether or not the output device uses a passthrough mix (Ak3DAudioSinkCapabilities::bPassthrough) and the maximum number of objects that can play simultaneously on this output device (Ak3DAudioSinkCapabilities::uMax3DAudioObjects). Note that if Ak3DAudioSinkCapabilities::bMultiChannelObjects is false, multi-channel objects will be split into multiple mono objects before being sent to the output device.

Warning
Call this function only after the sound engine has been properly initialized. If you are initializing the sound engine with AkInitSettings::bUseLEngineThread to false, it is required to call RenderAudio() at least once before calling this function to complete the sound engine initialization.
Returns
  • AK_Success if successful
  • AK_IDNotFound is the output was not found in the system.
  • AK_NotInitialized if the sound engine is not initialized
See also

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