Reputation: 1945
I seem to get this error while building my app on my emulator. I do not know what it the cause of it and it seems affecting my app which causes it my app to crash on the emulator.
Emulator: coreaudio: Could not lock voice for audioInputDeviceIOProc
Emulator: Reason: Invalid argument
Upvotes: 15
Views: 6399
Reputation: 81
Upvotes: 0
Reputation: 1493
Audio input in the Android emulator is not super reliable right now. Until it's fixed you can disable it with these steps:
config.ini
file, open it in your favorite text editorhw.audioInput=yes
to hw.audioInput=no
config.ini
and relaunch that Android emulator image—it should now work without audio input errorsSidenote: I had issues that are possibly related and also chose to add hw.audioOutput=no
directly after hw.audioInput=no
. You may want to try that if hw.audioInput=no
doesn't solve it for you.
Upvotes: 21