Exemple #1
0
 protected void RegisterSound(FMOD.Sound sound)
 {
     IntPtr raw = sound.getRaw();
     if (allSounds.ContainsKey(raw))
         allSounds.Remove(raw);
     allSounds.Add(raw, this);
 }
Exemple #2
0
 protected void RegisterChannel(FMOD.Channel channel)
 {
     IntPtr raw = channel.getRaw();
     if (allChannels.ContainsKey(raw))
         allChannels.Remove(raw);
     allChannels.Add(raw, this);
 }