“emulator: warning: opening audio input failed” displayed in the console while AVD is launching

后端 未结 3 870
生来不讨喜
生来不讨喜 2020-12-20 11:58
\"emulator: warning: opening audio input failed\"

The above message is displayed in the console everytime an AVD is launch

相关标签:
3条回答
  • 2020-12-20 12:31

    Open the AVD Manager.Click edit on any existing Virtual Device created or create a new one. On the create Virtual device Window, there is a new button on hardware tab.When that button is clicked, u will get a number of properties. Select the necessary property (like Audio Playback Support). I think that will do the trick.

    EDIT: This was possible in earlier versions of AVD Manager. Android updated the AVD to a new one(that we see now). There is no option to enable/disable audio/video in the new AVD creation window and there is no word of it in the AVD documentation.

    However they specify that you can play audio and video using Emulator.

    AVDs let you define certain hardware aspects of your emulated phone and allow you to create many configurations to test many Android platforms and hardware permutations. Once your application is running on the emulator, it can use the services of the Android platform to invoke other applications, access the network, play audio and video, store and retrieve data, notify the user, and render graphical transitions and themes.

    0 讨论(0)
  • 2020-12-20 12:35

    you can disable audio input setting manually : go to your-avd-path/config.ini then change the line hw.audioInput=yes to hw.audioInput=no

    0 讨论(0)
  • 2020-12-20 12:41

    The way I solved my issue: Make sure you do not have anything else "using" or diverting your audio driver.

    In my instance I also work with audio devices for music applications. This one in particular was "Jack Audio". So I disabled the Jack Audio server and my audio device came back.

    0 讨论(0)
提交回复
热议问题