Hello,
We have trouble with switching the output device. Unity 2020.3.33f1, Wwise 2019.1.11.
We were using AkSoundEngine.ReplaceOutput(new AkOutputSettings("System"), id); to replace output, where id - uint, which we got by looping through devices with AkSoundEngine.GetWindowsDeviceName(index, out uint uid).
As a result, we got the AK_DeviceNotFound error message with any ids, except 0.
We also tried to get the ulong id with AkSoundEngine.GetOutputID(shareId, deviceId), where shareId getting by AkSoundEngine.GetDeviceIDFromName or AkSoundEngine.GetIDFromString, but no luck.
Also, we couldn't use the AkSoundEngine.SetBusDevice, it responded with AK_IDNotFound no matter which string we used for busName.
update: We are doing everything just like in the code form samples. Event ReplaceOutput returns success mark. But the audio output device still remains the same. Any idea why this happens?
How exactly should we use the ReplaceOutput and how to get proper id of the output device?
Which name of audio bus should we use to be able to set bus device?
Thank you!