public override void Initialize(ComponentCache componentCache, GameEngineState gameEngineState, string[] sofaFileNames) { foreach (var sofaFileName in sofaFileNames) { PhononFmod.iplFmodAddSOFAFileName(sofaFileName); } PhononFmod.iplFmodSetCurrentSOFAFile(0); PhononFmod.iplFmodSetEnvironment(gameEngineState.SimulationSettings(), gameEngineState.Environment().GetEnvironment(), gameEngineState.ConvolutionType()); }
public override void UpdateSOFAFile(int index) { PhononFmod.iplFmodSetCurrentSOFAFile(index); }
public override void Destroy() { PhononFmod.iplFmodResetEnvironment(); }