开发者

How can I check if BASS is playing stream?

开发者 https://www.devze.com 2023-01-12 03:18 出处:网络
How can I check if BASS is playing stream in C#? I mean, I need something like: public WMPLib.WindowsMediaPlayer wp = new WMPLib.WindowsMediaPlayer();

How can I check if BASS is playing stream in C#? I mean, I need something like:

        public WMPLib.WindowsMediaPlayer wp = new WMPLib.WindowsMediaPlayer();
        if(wp.enabled)
        {
             //d开发者_如何学编程o something
        }
        else
        {
            //do something different
        }  

Any help would be appreciated.

EDIT: I'm going to make simple bool and change it everytime I need.


Use BASS_ChannelIsActive()

Marko.

0

精彩评论

暂无评论...
验证码 换一张
取 消