menu
 
Version
2024.1.2.8726

2024.1.2.8726

2023.1.10.8659

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2024.1.2.8726 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2024.1.2

◆ SetPanningRule()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetPanningRule ( AkPanningRule  in_ePanningRule,
AkOutputDeviceID  in_idOutput = 0 
)

Sets 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.
infoNote: The specified panning rule will only impact the sound if the processing format is downmixing to Stereo in the mixing process. It will not impact the output if the audio stays in 5.1 until the end, for example.
Parameters
in_ePanningRulePanning rule.
in_idOutputOutput ID to set the bus on. As returned from AddOutput or GetOutputID. You can pass 0 for the main (default) output

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