-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
macOS audio recording error: input_callback: AudioUnitRender failed, code: -10863 #58180
Comments
Is this still reproducible in 4.0 RC 3 or later? |
I just tested it and it can be reproduced. |
Hey, just ran into this issue in 4.2dev6. |
Official Mic Record Demo project on MacOS also has this error, and fails to record microphone sound as well: Error:
Demo App: Mac m1 Sonoma 14.2.1 Steps: Open Project, Click Record. |
The root of the problem seems to be "mix rate" in the project settings, if it's not matching mic mix rate it won't work. |
It's also won't work if sampling rate for output is too different. e.g., external mic with 16KHz rate and output with 44.1KHz, setting rate for both to 16KHz will not work in this case. But everything in the engine except mix rate to be the same for all streams, so I have no idea to fix it. |
I have confirmed that manually setting my microphone to match the hz in the sample project via macos's settings allows audio to be recorded. |
Godot version
v3.4.2
System information
macos 11.6 GLES2
Issue description
input_callback: AudioUnitRender failed, code: -10863
drivers/coreaudio/audio_driver_coreaudio.cpp:237 @ input_callback()
Similar problems and solutions:baresip/baresip#601
I hope a great god can solve this problem.
Steps to reproduce
/Applications/Utilities/Audio\ MIDI\ Setup.app SampleRate 48000
godot MixRate 44100
It can be reproduced by using plug-in.
Minimal reproduction project
https://github.com/c-as/godot-voip
The text was updated successfully, but these errors were encountered: