Skip to content

Fix Safari AudioContext initialisation #99

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

Merged
merged 1 commit into from
Feb 6, 2023
Merged

Conversation

microbit-matt-hillsdon
Copy link
Contributor

Current versions seem to require the user interaction to be on the stack when creating the context.

Switch to a single context and resume it if it starts suspended.

Add some clean-up so we can keep the single context for the lifetime of the app (across stop/start).

Current version seem to require the user interaction to be on the stack
when creating the context.

Switch to a single context and resume it if it starts suspended.

Add some clean-up so we can keep the single context for the lifetime of
the app (across stop/start).
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Preview build will be at
https://review-python-simulator.usermbit.org/safari-fix/

@netlify
Copy link

netlify bot commented Feb 6, 2023

Deploy Preview for distracted-dubinsky-fd8a42 ready!

Name Link
🔨 Latest commit 9fe8a73
🔍 Latest deploy log https://app.netlify.com/sites/distracted-dubinsky-fd8a42/deploys/63e129fb4042e70008c4ef68
😎 Deploy Preview https://deploy-preview-99--distracted-dubinsky-fd8a42.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@microbit-robert microbit-robert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending final check on Python Editor branch.

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit a3e92f7 into main Feb 6, 2023
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the safari-fix branch February 6, 2023 18:29
@microbit-matt-hillsdon
Copy link
Contributor Author

This is working well on Mac and iPadOS.

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