Fix waveform array out of bounds.

This commit is contained in:
Alan Evans
2020-06-04 10:39:24 -03:00
committed by Greyson Parrelli
parent 26a9dd98c1
commit 91b142e0d9
2 changed files with 13 additions and 17 deletions

View File

@@ -168,7 +168,7 @@ public final class AudioView extends FrameLayout implements AudioSlidePlayer.Lis
}
waveFormView.setWaveData(data.getWaveForm());
},
e -> waveFormView.setWaveMode(false));
() -> waveFormView.setWaveMode(false));
} else {
waveFormView.setWaveMode(false);
if (duration != null) {