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

Update MultiSegmentPlayer to create its own audio engine #146

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Update MultiSegmentPlayer to create its own audio engine #146

merged 3 commits into from
Jan 9, 2024

Conversation

emurray2
Copy link
Member

@emurray2 emurray2 commented Jan 8, 2024

MultiSegmentPlayer should create its own audio engine as the other Cookbook recipes do to resolve issues described in #145

So a new audio engine is created each time the view is loaded and doesn't contain the stopped state of the previous audio engine
So the view's engine can have start/stop functionality.
This way audio will stop playing when the view is closed and the engine can start when the view is loaded
@NickCulbertson NickCulbertson merged commit 0f20fee into AudioKit:main Jan 9, 2024
3 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