04-14-2018 09:36 AM
To
configure Wwise to use to configured audio device in Unity 5, pass the
user-configured audio device name/GUID (set in the Oculus app) into the
function AkSoundEngine.GetDeviceIDFromName(), located in AkInitializer.cs.
To
get the audio device GUID from libOVR, you must include the Oculus
Utilities unitypackage, which exposes that string through the class
OVRManager.
The following function should be called before AkSoundEngine.Init(...):
[...]
Solved! Go to Solution.
04-16-2018 12:29 PM
04-14-2018 09:36 AM
04-16-2018 03:58 AM
string audioDevice = OVRManager.audioOutId;
uint audioOutId = AkSoundEngine.GetDeviceIDFromName(audioDevice);
initSettings.settingsMainOutput.idDevice = audioOutId;
initSettings.settingsMainOutput.idDevice
04-16-2018 12:29 PM
04-16-2018 12:32 PM
04-11-2020 09:40 AM
AkInitializer.cs file and found no reference to
AkSoundEngine.GetDeviceIDFromName() nor AkSoundEngine.Init in it.