Skip to content

Add audio stop event #5076

@LeXXik

Description

@LeXXik

This is a feature request.

We can start playback of an audio slot with .play() method. However, we don't know when it has stopped playing. As we are using AudioScheduledSourceNode for the audio instance, we can also know when the audio stops either by user initiated stop or the natural stop when the buffer reaches the end. It would be useful to add an event that we could listen to know when the audio stopped.

https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/ended_event

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions