public void PlaySound(CachedSound sound, bool isSigle = false) { if (isSigle) { mixer.RemoveAllMixerInputs(); } AddMixerInput(new CachedSoundSampleProvider(sound)); }
public CachedSoundSampleProvider(CachedSound cachedSound) { this.cachedSound = cachedSound; }