menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표

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?

 image


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!

 

General Discussion Sergey E. (230 포인트) 로 부터
수정 Sergey E. 로 부터

Please sign-in or register to answer this question.

...