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

iOS crash on simulator when system output other than macbook speakers or headphones #944

Closed
demym opened this issue Mar 27, 2023 · 1 comment
Labels
bug Something isn't working ios Issue relates to iOS

Comments

@demym
Copy link

demym commented Mar 27, 2023

Hi,

i'm experimenting the following crash running the iOS app with AUV3 on simulator; if the output of the device (in this case a macbook) is on something other that macbook speakers or macbook headphones, the app crashes almost immediately on simulator, with the following messages:

Screenshot 2023-03-27 at 10 15 31

Even if it's only on simulator, i experimented the same on real iphone device: if no external audio interface is connected, the app and plugin launch (at least), otherwise it crashes. That's the main reason i'm writing about it.

Thanks very much in advance !

@AlexHarker AlexHarker added bug Something isn't working ios Issue relates to iOS labels Oct 15, 2023
@olilarkin
Copy link
Member

We now catch the exception that occurs in the simulator for plugins that require the microphone input. Unfortunately there the mic input node gets an invalid samplerate and channel count. I believe this is a bug with the latest simulator. Instrument example works. Regarding AVAudioEngine fixes on device, that will be improved in #1056

see 82487e0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ios Issue relates to iOS
Projects
None yet
Development

No branches or pull requests

3 participants