Beispiel #1
0
        public void GroupChannel()
        {
            InitAudio();
            int result = SdlMixer.Mix_GroupChannel(1, 1);

            //Console.WriteLine("ReserveChannels: " + result.ToString());
            Assert.IsTrue(result == 1);
            QuitAudio();
        }
Beispiel #2
0
        public void  FadeOutGroup()
        {
            InitAudio();
            int result = SdlMixer.Mix_GroupChannel(1, 1);

            result = SdlMixer.Mix_FadeOutGroup(1, 100);
            Thread.Sleep(100);
            //Console.WriteLine("ReserveChannels: " + result.ToString());
            Assert.IsTrue(result == 1);
            QuitAudio();
        }