-
Notifications
You must be signed in to change notification settings - Fork 246
mute
matoude1234567 edited this page Dec 2, 2016
·
2 revisions
setPlayerMute(int mute) 设置播放器是否禁音,1和0分别指播放禁音和不禁音
if(ksyMediaPlayer!=null){
if(mmute == false){
//播放器静音
ksyMediaPlayer.setPlayerMute(1);
mmute = true;
}else{
ksyMediaPlayer.setPlayerMute(0);
mmute = false;
}
}