Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed waveform for audios under 1 second not being extractable on Android #259

Conversation

mschudt
Copy link
Contributor

@mschudt mschudt commented Jan 15, 2024

Fixed divison by zero due to duration value being rounded to 0 for audios under 1 second length. I changed the variable from duration (in seconds) to durationMillis which fixes an exception that was thrown.

Offset argument contained a NaN value.
'dart:ui/painting.dart':
Failed assertion: line 39 pos 10: '<optimized out>'

@ujas-m-simformsolutions ujas-m-simformsolutions merged commit 4c8cd07 into SimformSolutionsPvtLtd:main Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants