public AudioInstanceSoundEffect(SoundEffect soundEffect) { this.mSoundEffect = soundEffect; this.mSoundEffectInstance = soundEffect.CreateInstance(); mLoopHelper = new LoopHelper(this, () => { this.mSoundEffectInstance.IsLooped = false; }); }