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

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

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