Example #1
0
        public async Task BassEngineOpenUrlTest()
        {
            player.Stop();
            await player.OpenUrl("http://mr4.douban.com/201412202338/4fb9ab5029d055808ddc1733e62cc044/view/song/small/p1742971_1v.mp3");

            player.Play();
            Assert.IsTrue(player.IsPlaying);
            Thread.Sleep(15000);
            player.Pause();

            Thread.Sleep(3000);
            player.Play();

            Thread.Sleep(120000);
            player.Stop();
        }
Example #2
0
 public static void Pause()
 {
     bassEng.Pause();
     LrcController.SetPlay();
     // AppPropertys.ChangeNotifyIcon(1);
 }