Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
xianing committed Oct 19, 2021
1 parent ca07349 commit 9136280
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private void stopProgressTimer() {
}

private void startProgressTimer() {
final int result = (int) ((float) engine.getAudioMixingCurrentPosition() / (float) engine.getAudioMixingDuration(Constant.MIX_FILE_PATH) * 100);
final int result = (int) ((float) engine.getAudioMixingCurrentPosition() / (float) engine.getAudioFileInfo(Constant.URL_PLAY_AUDIO_FILES) * 100);
mixingProgressBar.setProgress(Long.valueOf(result).intValue());
handler.postDelayed(this::startProgressTimer, 500);
}
Expand Down

0 comments on commit 9136280

Please sign in to comment.