Пример #1
0
        public ISampleProvider PlaySound(CachedSound sound)
        {
            ISampleProvider provider = new CachedSoundSampleProvider(sound);

            AddMixerInput(provider);
            return(provider);
        }
Пример #2
0
 public CachedSoundSampleProvider(CachedSound cachedSound)
 {
     this.cachedSound = cachedSound;
 }