Exemple #1
0
 internal bool RemoveSoundEntity(SoundEntity sound)
 {
     if (sound.HasSound())
     {
         FreeSL.fslFreeSound(sound.SoundID, true);
     }
     return(_soundEntities.Remove(sound));
 }
Exemple #2
0
 internal bool RemoveAmbientSound(AmbientSound sound)
 {
     if (sound.HasSound())
     {
         FreeSL.fslFreeSound(sound.SoundID, true);
     }
     return(_ambientSounds.Remove(sound));
 }