Skip to content

No way to resume an interrupted track without touching internals #7

@atesgoral

Description

@atesgoral

After interrupt() is called on WavStreamPlayer, there's no way through the external API to resume the track.

Need to reach into the interruptedTrackIds property to set the relevant track's status to false before calling add16BitPCM:

wavStreamPlayer.interruptedTrackIds['some-track'] = false;
wavStreamPlayer.add16BitPCM(audioChunk, 'some-track');

Maybe a resume() method is needed for symmetry?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions