目次

AkChannelConfig __cdecl AK::SoundEngine::GetSpeakerConfiguration ( AkAudioOutputType  in_eSinkType = AkOutput_Main,
AkUInt32  in_iOutputID = 0  
)

Get the output speaker configuration of the specified output. Call this function to get the speaker configuration of the output (which may not correspond to the physical output format of the platform, in the case of downmixing provided by the platform itself). You may initialize the sound engine with a user-specified configuration, but the resulting configuration is determined by the sound engine, based on the platform, output type and platform settings (for e.g. system menu or control panel option).

警告:
Call this function only after the sound engine has been properly initialized.
戻り値:
The output configuration. An empty AkChannelConfig (!AkChannelConfigIsValid()) if device does not exist.
参照:
引数:
in_eSinkType  Output sink type. Pass AkOutput_Main for main output.
in_iOutputID  Player number or device-unique identifier. Pass 0 for main.