1:修改练歌房修改调音台成0的时候,更换演唱者没有声音了
This commit is contained in:
@@ -225,17 +225,19 @@ public class GiftAnimView extends FrameLayout implements GiftSvgaView.OnAnimatio
|
||||
public void openOrCloseEffectViewWith(boolean isShow) {
|
||||
this.isShow = isShow;
|
||||
removeSvgaQueueData();
|
||||
|
||||
playerMp4View.stopPlay();
|
||||
playerMp4View.setVisibility(View.GONE);
|
||||
if(playerMp4View!=null) {
|
||||
playerMp4View.stopPlay();
|
||||
playerMp4View.setVisibility(View.GONE);
|
||||
}
|
||||
setVisibility(isShow ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
|
||||
public void stopPlay() {
|
||||
removeSvgaQueueData();
|
||||
|
||||
playerMp4View.stopPlay();
|
||||
playerMp4View.setVisibility(View.GONE);
|
||||
if(playerMp4View!=null) {
|
||||
playerMp4View.stopPlay();
|
||||
playerMp4View.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -68,7 +68,9 @@ public class MusicSongListFragment extends BaseMvpFragment<RequestPresenter, Fra
|
||||
if (page == 1) {
|
||||
adapter.setNewData(musicSongBeans);
|
||||
} else {
|
||||
adapter.addData(musicSongBeans);
|
||||
if (musicSongBeans != null) {
|
||||
musicSongBeans.size();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -690,21 +690,20 @@ public class RoomKtvFragment extends BaseMvpFragment<RoomPresenter, FragmentRoom
|
||||
pitBean.setDress(messageEvent.getText().getSongInfo().getDress());
|
||||
roomDefaultWheatView.setData(pitBean);
|
||||
roomInfoResp.setSong_user_info(musicSongBean);
|
||||
|
||||
AgoraManager.getInstance();
|
||||
AgoraManager.stopMuisc();
|
||||
if (messageEvent.getText().getSongInfo().getUser_id().equals(SpUtil.getUserId() + "")) {
|
||||
AgoraManager.getInstance();
|
||||
AgoraManager.stopMuisc();
|
||||
LogUtils.e("推送过来的code", messageEvent.getText().getSongInfo().getSong_code());
|
||||
AgoraManager.getInstance().isPreload(Long.parseLong(messageEvent.getText().getSongInfo().getSong_code()), 1);
|
||||
setAgorVolumes();
|
||||
|
||||
} else {
|
||||
volumeManager.saveBz(SpUtil.getUserId() + "", true);
|
||||
volumeManager.clearCurrentVolumes();
|
||||
|
||||
if (AgoraManager.getInstance().isOnJoin()) {
|
||||
AgoraManager.getInstance().loadLrc(Long.parseLong(roomInfoResp.getSong_user_info().getSong_code()));
|
||||
}
|
||||
}
|
||||
|
||||
if (getActivity() instanceof RoomActivity) {
|
||||
if (messageEvent.getText().getSongInfo().getUser_id().equals(SpUtil.getUserId() + "")) {
|
||||
|
||||
@@ -743,6 +742,7 @@ public class RoomKtvFragment extends BaseMvpFragment<RoomPresenter, FragmentRoom
|
||||
mBinding.muXName.setText("无");
|
||||
}
|
||||
}
|
||||
setAgorVolumes();
|
||||
sv();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user