Why would AllocateStreamingResources fail with error code 0x80004005?

2

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?

windows
winapi
audio
ms-media-foundation
dmo
asked on Stack Overflow Nov 8, 2020 by Ben • edited Nov 9, 2020 by Roman R.

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0