Exemplo n.º 1
0
        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());
        }
Exemplo n.º 2
0
 public override void UpdateSOFAFile(int index)
 {
     PhononFmod.iplFmodSetCurrentSOFAFile(index);
 }
Exemplo n.º 3
0
 public override void Destroy()
 {
     PhononFmod.iplFmodResetEnvironment();
 }