如何在 Android Studio 中修复 "Could not initialize DirectSoundCapture"
How to fix "Could not initialize DirectSoundCapture" in Android Studio
我只是在使用 Android Studio 时没有问题,然后有一次我 运行 这个项目我得到了一个错误列表 "Emulator: dsound: Could not initialize DirectSoundCapture"。
我已经查找了问题并尝试更新 windows、更新 android 工作室、更新驱动程序、取消勾选设置中的 "Enable instant run to hot swap code/resource changes on deploy" 框,然后转到 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'
模拟器只是黑屏,其他什么都不做,我不管模拟器有没有声音我只想看画面
我通过将麦克风重新插入计算机成功解决了这个问题。不知道为什么会导致问题,但是一旦重新插入,错误就消失了。黑屏仍然出现,但我在 AVD 管理器中创建了另一个虚拟设备并使用它运行良好。
轻松修复....
我是 运行ning windows 10 但其他版本应该相同。
右键单击右下角的音频图标,然后单击打开声音设置,然后在右侧 window 窗格的输入部分下单击管理声音设备,然后在输入设备下启用立体声混音...
现在模拟器将 运行 没有音频错误..
我在构建项目时也遇到了同样的错误,当我注意到我的系统没有内置麦克风时,我连接了一个外部麦克风 然后它对我有用..
快速解决方法是在每次出现问题时从模拟器中擦除数据(工具>AVD 管理器>Drop-down 操作>擦除数据)。
我只是在使用 Android Studio 时没有问题,然后有一次我 运行 这个项目我得到了一个错误列表 "Emulator: dsound: Could not initialize DirectSoundCapture"。
我已经查找了问题并尝试更新 windows、更新 android 工作室、更新驱动程序、取消勾选设置中的 "Enable instant run to hot swap code/resource changes on deploy" 框,然后转到 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'
模拟器只是黑屏,其他什么都不做,我不管模拟器有没有声音我只想看画面
我通过将麦克风重新插入计算机成功解决了这个问题。不知道为什么会导致问题,但是一旦重新插入,错误就消失了。黑屏仍然出现,但我在 AVD 管理器中创建了另一个虚拟设备并使用它运行良好。
轻松修复....
我是 运行ning windows 10 但其他版本应该相同。
右键单击右下角的音频图标,然后单击打开声音设置,然后在右侧 window 窗格的输入部分下单击管理声音设备,然后在输入设备下启用立体声混音...
现在模拟器将 运行 没有音频错误..
我在构建项目时也遇到了同样的错误,当我注意到我的系统没有内置麦克风时,我连接了一个外部麦克风 然后它对我有用..
快速解决方法是在每次出现问题时从模拟器中擦除数据(工具>AVD 管理器>Drop-down 操作>擦除数据)。