Skip to content
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

Add ability to pause and simplify players #26

Merged
merged 8 commits into from
Sep 14, 2024
Merged

Conversation

timothyhale
Copy link
Collaborator

@timothyhale timothyhale commented Jun 1, 2024

This PR adds the ability to pause and resume playback and removes the OneShotPlayers in favor of regular players which removes the entire code paths for those types of players.

This breaks the API for the stop() function since it was stop(audioID, playID) and now is stop(playID) (as it always should have been)

src/audio-manager.ts Outdated Show resolved Hide resolved
src/audio-manager.ts Outdated Show resolved Hide resolved
@timothyhale timothyhale changed the title Add ability to pause Add ability to pause and simplify players Sep 9, 2024
@Squareys Squareys merged commit 073ad74 into main Sep 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants