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 example console flooded with kAudio_ParamError #1716

Open
lo94 opened this issue Jun 21, 2023 · 0 comments
Open

iOS example console flooded with kAudio_ParamError #1716

lo94 opened this issue Jun 21, 2023 · 0 comments

Comments

@lo94
Copy link

lo94 commented Jun 21, 2023

There seems to be an issue with the AudioUnitRender initialization in the iOS examples that causes the console to be flooded with error logs that read:
ioData.mNumberBuffers=2, ASBD::NumberChannelStreams(output.GetStreamFormat())=1; kAudio_ParamError from AU (0x7fd1e8905a80): auou/rioc/appl, render err: -50

This seems to be likely caused by a discrepancy between the actual device vs device simulator as mentioned here

https://stackoverflow.com/questions/5903363/iphone-audiounitrender-error-50-in-device?rq=4

I am fairly new to dealing with Apple's audio framework and not entirely sure how to solve this. I'm assuming that the error is indicating that there is an issue with the AudioBufferList that is passed to the AudioUnitRender

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

No branches or pull requests

1 participant