Skip to content

Starting new extraction do not stop the previous extraction #412

Closed

Description

Describe the bug
Starting new extraction 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.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour
Previous extraction should stop when calling preparePlayer again.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions