コード例 #1
0
        public AudioInstanceSoundEffect(SoundEffect soundEffect)
        {
            this.mSoundEffect         = soundEffect;
            this.mSoundEffectInstance = soundEffect.CreateInstance();

            mLoopHelper = new LoopHelper(this, () =>
            {
                this.mSoundEffectInstance.IsLooped = false;
            });
        }
コード例 #2
0
ファイル: MoSyncAudio.cs プロジェクト: N00bKefka/MoSync
        public AudioInstanceSoundEffect(SoundEffect soundEffect)
        {
            this.mSoundEffect = soundEffect;
            this.mSoundEffectInstance = soundEffect.CreateInstance();

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