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

early return on empty buffer #6

Merged
merged 1 commit into from
Jul 10, 2023
Merged

early return on empty buffer #6

merged 1 commit into from
Jul 10, 2023

Conversation

atomhax
Copy link
Contributor

@atomhax atomhax commented Jul 10, 2023

This PR is an attempt to address issue #2

My understanding of Metal programming is nascent so please excuse any false presumptions. But from my understanding an early return will solve the issue. In an intensive metal application this might cause some frame skips but in the charting/plotting context I think this will be ok.

Preferably we'd have some sort of feedback up the chain about what caused the error but in the meantime this resolved the issue for my testers.

Notably this issue only happened on iOS 15.6.1 and on an iPhone 12 mini. All the other devices worked perfectly. So it may be an issue with older/slower hardware not having the buffers prepped In time? (I can't believe I'm considering the iPhone 12 old it feels like it just came out yesterday!)

@aure aure merged commit bacd3ef into AudioKit:main Jul 10, 2023
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