android-emulator - 如何在 Android Studio 中修复 "Could not initialize DirectSoundCapture"

标签 android-emulator

我只是毫无问题地使用 Android Studio,然后有一次我运行该项目时,我得到了一个错误列表,上面写着“模拟器:dsound:无法初始化 DirectSoundCapture”。

我已经查看了问题并尝试更新 windows、更新 android studio、更新驱动程序、取消勾选设置中的“启用即时运行以热交换代码/部署资源更改”框,转到 windows 设置和让应用程序可以使用麦克风,但我找不到任何解决方案。

10:02 PM    Emulator: dsound: Could not initialize DirectSoundCapture

10:02 PM    Emulator: dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID

10:02 PM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

10:02 PM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

10:02 PM    Emulator: audio: Failed to create voice `goldfish_audio_in'

10:02 PM    Emulator: C:\Users\Joseph\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed

10:02 PM    Emulator: dsound: At

10:02 PM    Emulator: tempt to initialize voice without DirectSoundCapture object

10:02 PM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

10:02 PM    Emulator: audio: Failed to create voice `adc'

10:02 PM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

10:02 PM    Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

10:02 PM    Emulator: audio: Failed to create voice `adc'

模拟器只是黑屏,不会做任何其他事情,我不在乎模拟器是否发出声音我只是想看看视觉效果。

最佳答案

轻松修复....

我正在运行 Windows 10,但其他版本应该相同。

右键单击右下角的音频图标,然后单击打开声音设置,然后在右侧 Pane 的输入部分下单击管理声音设备,然后在输入设备下启用立体声混音...

现在模拟器将在没有音频错误的情况下运行..

关于android-emulator - 如何在 Android Studio 中修复 "Could not initialize DirectSoundCapture",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55601413/

相关文章:

java - Android 模拟器中的新地理修复中的位置未更新

java - Android 货币显示 : Device vs. 模拟器

android-studio - Android studio 模拟器错误显示屏幕

php - Android中向数据库服务器发送数据

ios - 我正在尝试在 Windows PC 中使用 IOS Simulator/Emulator 或 iOS SDK a.Is it possible to install IOS Simulator/Emulator or iOS SDK in windows PC

android-studio - Android模拟器时区在启动时发出警告

java - 正确的编码方式

android - 启动android模拟器的最快方法

android - 软键盘弹出时标题栏隐藏

android - Visual Studio Android Emulator 无法运行应用程序