-
Notifications
You must be signed in to change notification settings - Fork 157
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
onCurrentExtractedWaveformData #328
Comments
Any updates about Bug 3? Is there a way to bypass the wait for the previous audio? |
Hello @Kamoba, Bug 1: Bug 2: Bug 3: Thank you, |
@himanshuGandhiSimform Bug 2: Bug 3: |
Using onCurrentExtractedWaveformData
Bug 1:
onDone never runs (tested, no logs).
for now just trying to implement something using:
_audioPlayer.onCurrentExtractedWaveformData.elementAt(noOfSamples -1).then((data) {
Bug 2:
Once a while when the waveform is not rendered well and i check for errors i do not see my logs, look like onError do not runs also.
Bug 3:
Starting new extration do not stop the previous extraction.
To reproduce, using the player, play audio1 using:
await _audioPlayer.preparePlayer
with shouldExtractWaveform = true.Then quickly (before audio1 finish extraction), play audio2 then you will receive both data alternatively without any way to differentiate them.
For now I'm trying to check data[0] (saved when it start) to determine which one it is.
Using last version of flutter (3.22.2) and this package.
The text was updated successfully, but these errors were encountered: