我只是在没有问题的情况下使用 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'
Run Code Online (Sandbox Code Playgroud)
模拟器只有一个黑屏,不会做任何其他事情,我不在乎模拟器是否发出声音,我只想看到视觉效果。
小智 7
轻松修复....
我正在运行 Windows 10,但其他版本应该相同。
右键单击右下角的音频图标,然后单击打开声音设置,然后在右侧窗格的输入部分下单击管理声音设备,然后在输入设备下启用立体声混音...
现在模拟器将运行而不会出现音频错误..