XugglerAudioPlayerThread.java 文件源码

java
阅读 25 收藏 0 点赞 0 评论 0

项目:praisenter 作者:
/**
 * Returns true if the audio player is muted.
 * <p>
 * It's possible that JavaSound doesn't support the mute control.  In this
 * case false will always be returned.
 * @return boolean
 */
public boolean isMuted() {
    if (this.line != null) {
        if (this.line.isControlSupported(BooleanControl.Type.MUTE)) {
            BooleanControl control = (BooleanControl)this.line.getControl(BooleanControl.Type.MUTE);
            return control.getValue();
        }
    }
    // otherwise return false
    return false;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号