|
|
|
@ -81,6 +81,11 @@ public class AudioManager : MonoBehaviour |
|
|
|
if (fmodSystem.hasHandle()) |
|
|
|
return; |
|
|
|
|
|
|
|
#if UNITY_PS4 || UNITY_PS5 || UNITY_GAMECORE
|
|
|
|
// Move FMOD mixer thread off the already heavily congested core 1
|
|
|
|
FMOD.Thread.SetAttributes(FMOD.THREAD_TYPE.MIXER, FMOD.THREAD_AFFINITY.CORE_4); |
|
|
|
#endif
|
|
|
|
|
|
|
|
FMOD.RESULT result = FMOD.Factory.System_Create(out fmodSystem); |
|
|
|
CheckFmodResult(result, "FMOD.Factory.System_Create"); |
|
|
|
|
|
|
|
|