Skip to content

Bug: PlaybackFinished event is raise before the audio stops #9

@lastunicorn

Description

@lastunicorn

Platform: Windows

Steps to reproduce:

  1. Instantiate Player
  2. Subscribe to PlaybackFinished event
  3. Play an mp3 file

Expected behaviour:
PlaybackFinished event should be raised when audio stops.

Actual behaviour:
After PlaybackFinished event is raised, audio still plays for 1 or 2 seconds.

Code example:

Player player = new Player();

player.PlaybackFinished += (sender, args) =>
{
   // This event is triggered even if the player still has 1 or 2 seconds to play.
};

player.Play(path);

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