Android Emulator: Audio Input Failed

前端 未结 6 746
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 04:12

Whenever I attempt to launch an emulator these errors appear in the console:

audio: Failed to create voice `goldfish_audio_in\'
qemu-system-i386.exe: warning         


        
6条回答
  •  遥遥无期
    2021-01-03 04:24

    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.

提交回复
热议问题