Esempio n. 1
0
        public override AsSoundChannel Play(float startTime, int loops, AsSoundTransform sndTransform)
        {
            AsMusicChannel channel = new AsMusicChannel(mSong, sndTransform);

            channel.play(loops);
            return(channel);
        }
        public override AsSoundChannel Play(float startTime, int loops, AsSoundTransform sndTransform)
        {
            Debug.Assert(loops == 0 || loops == 1);

            AsSoundEffectChannel channel = new AsSoundEffectChannel(mEffect, sndTransform);

            channel.play(loops);
            return(channel);
        }
Esempio n. 3
0
 public abstract AsSoundChannel Play(float startTime, int loops, AsSoundTransform sndTransform);