This can be called in any Start()
function connected to a gameObject
in your scene:
void Start()
{
FMOD.SPEAKERMODE speaker = FMOD.SPEAKERMODE.DEFAULT;
if (FMODUnity.RuntimeManager.IsInitialized)
FMODUnity.RuntimeManager.CoreSystem.getSoftwareFormat(out int sample, out speaker, out int num);
Debug.Log("Current Speaker setup: " + speaker);
}
Is this only happening in Editor? If you make a build of the project does it output correctly?