Table of Contents

AKRESULT __cdecl AK::SoundEngine::SetPanningRule ( AkPanningRule  in_ePanningRule,
AkAudioOutputType  in_eSinkType = AkOutput_Main,
AkUInt32  in_iOutputID = 0  
)

Set the panning rule of the specified output. This may be changed anytime once the sound engine is initialized.

Warning:
This function posts a message through the sound engine's internal message queue, whereas GetPanningRule() queries the current panning rule directly.
Parameters:
in_ePanningRule  Panning rule.
in_eSinkType  Output sink type. Pass AkOutput_Main for main output.
in_iOutputID  Player number or device-unique identifier. Pass 0 for main.