Exemplo n.º 1
0
        public void Setup()
        {
            bass  = new BassTestComponents();
            track = bass.GetTrack();

            bass.Update();
        }
Exemplo n.º 2
0
        public void Setup()
        {
            bass   = new BassTestComponents();
            sample = bass.GetSample();

            bass.Update();
        }
Exemplo n.º 3
0
        public void TestStart()
        {
            channel = sample.Play();
            bass.Update();

            Thread.Sleep(50);

            bass.Update();

            Assert.IsTrue(channel.Playing);
        }
Exemplo n.º 4
0
        public void TestStart()
        {
            track.StartAsync();
            bass.Update();

            Thread.Sleep(50);

            bass.Update();

            Assert.IsTrue(track.IsRunning);
            Assert.Greater(track.CurrentTime, 0);
        }
        public void TestCannotBeRemovedFromGlobalMixer()
        {
            bass.Mixer.Remove(track);
            bass.Update();

            Assert.That(BassMix.ChannelGetMixer(getHandle()), Is.EqualTo(bass.Mixer.Handle));
        }