Why would AllocateStreamingResources fail with error code 0x80004005?


I'm trying to get the demo for the AEC DMO working (found here). It works, but only on certain machines. On those machines it fails on, AllocateStreamingResources fails with error code 0x80004005. The exact line of code is here.

I ran dependency walker on the .exe the demo code produces and on the machines it fails on, no dependency failures were detected. The code just doesn't do anything after reporting AllocateStreamingResources failed.

I'm running with the following parameters: -out mic_out.pcm -mod 0 -spkdev 0 -micdev 0.

All machines have functional speakers and microphones. Sound is playing out of the speakers when I run the application. Any thoughts?

asked on Stack Overflow Nov 8, 2020 by Ben • edited Nov 9, 2020 by Roman R.

1 Answer


I have solved similar problem by:

  1. Uninstall audio device in the Device Manager
  2. Reboot
answered on Stack Overflow Jan 8, 2021 by Alex

User contributions licensed under CC BY-SA 3.0