Exemplo n.º 1
0
        public AudioInstanceSoundEffect(SoundEffect soundEffect)
        {
            this.mSoundEffect         = soundEffect;
            this.mSoundEffectInstance = soundEffect.CreateInstance();

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

            mLoopHelper = new LoopHelper(this, () =>
                {
                    this.mSoundEffectInstance.IsLooped = false;
                });
        }