chore: Follow up wrong amplitude
This commit is contained in:
parent
60d7632536
commit
7f3c5b8c52
2 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ class _AudioPlayerState extends State<AudioPlayerWidget> {
|
|||
eventWaveForm.removeAt(i);
|
||||
i = (i + step) % AudioPlayerWidget.wavesCount;
|
||||
}
|
||||
return eventWaveForm;
|
||||
return eventWaveForm.map((i) => i > 1024 ? 1024 : i).toList();
|
||||
}
|
||||
|
||||
late final List<int> waveform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue