Android Emulator: Audio Input Failed

ぐ巨炮叔叔 提交于 2019-11-30 15:35:13
user8922280

Here how to fix this:

  1. Go to Control Panel->Sound->Recording.
  2. Make sure your default hardware, "Realtek Audio Default Device" (the one integrated in the motherboard) is enabled.

I disabled it by mistake trying to get my speakers to work and completely forgot...

Rob Turner

Phil's answer is correct but I can't comment on it directly:

This happens because ... There is in fact no available host audio input (nothing plugged to PC "audio in" or PC "audio in" already in use and cannot be shared)!

this was enough to get to complete the apk build and run on an AVD (API level 21 + android 5.0 / x86_64, with gpu graphics: Software GLES 1.1)

Under Windows start -> Control_panel-> Sound-> Recording -> microphone -> disable

-untested: -mic disabled + hardware graphics - As Phil suggested, mic plugged in probably works around the bug

I'd guess a mic is a requirement for working with Pixel AVD's that has been accidental applied to older non-pixel avds.

This is not a bug and probably simply happens because... There is in fact no available host audio input (nothing plugged to PC "audio in" or PC "audio in" already in use and cannot be shared)!

Under Windows, please check into Control_panel->Sound->Recording that something is available as input, and if so, close any application that may exclusively use it (skype?).

For me it wasn't working because I was remotely logged in to PC with emulator. Had to allow record audio in Remote Desktop settings (Local Resources tab -> Remote audio -> Settings -> Allow remote audio recording)

Plugin something in the microphone pin and voila.. the error goes away... for some reason, it needs the microphone .. AMD Ryzen 1600, the hypervisor is on, windows 10 pro 1903.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!