在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

+1 投票
Hi everyone,

 

I successfully customize audio device with the ReplaceOutput() function but one thing is still remaining. Whatever I configure my AkChannelConfig, my output channel configuration remains in AkChannelConfigType::Object and not back to Standard.

Basically, how can I turn off Allow 3D Audio of my Audio Device Shareset with the Wwise SDK ?

It seems there is no way to do that outside of Wwise application and I want to let my user the opportunity to turn off 3D Audio inside my application.

 

Best regards everyone,

 

Alex
分类:General Discussion | 用户: Alexandre M. (110 分)
Up. That would help us as well.

1个回答

0 投票

The simplest way to toggle 3D Audio is to have 2 audio device ShareSets in your Wwise project, each with either 3D Audio on or off.
The in-game toggle would then switch to the appropriate Audio Device ShareSet using AK::SoundEngine::ReplaceOutput.
If, however, the host the application is running on does not support 3D Audio, both options will behave the same.

For completeness, here are settings influencing the enablement of 3D Audio at runtime:

  1. A channel configuration override can be specified through AkOutputSettings.
  2. A limit on the amount of audio objects that can be used by Wwise can be specified in the Windows-specific platform initialization settings via the uMaxSystemAudioObjects member. A value of 0 "disable[s] the use of System Audio Objects".

For more details, see https://www.audiokinetic.com/en/library/edge/?source=SDK&id=windows_specificinfo.html#Windows_Enabling_3DAudio

用户: Samuel L. (Audiokinetic) (23.6k 分)
Hey! Would you mind sharing what is a  Audio Device ShareSet and how can it be created. I tried just adding another audio device, but it didn't seem to be working for the purpose of disabling Allow 3D Audio.
...