I can’t seem to find a way to set the FMOD “sample rate” when running my game inside the editor (with the Unity player settings set to “Desktop Windows”).
There is a way to set it for “default”, “desktop”, “mobile”, “console”. But, when running the game inside the Editor , the platform returned from ‘RuntimeUtls.GetCurrentPlatform()’ is ‘FMODPlatform.PlayInEditor’ and there are no settings serialized for this platform and no way to set settings for this platform. The default value of 48khz is returned instead (at RuntimeManager.Initialize() -> fmodSettings.GetSampleRate(fmodPlatform) ).
Also, because of this, we even get warning of “Output requires a sample rate of 44100Hz, resampling will occur” from WASAPI.