microsoft / microsoft/Windows-classic-samples

failed to call `ActivateAudioInterfaceAsync` , HRESULT: -2147417850 (0x80010106)

Open
#274 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
5.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

Hi, I just download applicationloopbackaudio-sample , compile and run it, it's OK.

And then I compile it as a dll (exporting some simple interfaces) and link it to my GUI(QT) project, however, when I call StartCaptureAsync , I just get the error code: -2147417850 (0x80010106) ((failed in ActivateAudioInterfaceAsync);
Actually, it sometimes works fine, most times not; And if I try to adjust the function call position (say my app initializtion place), it works; if I put it into a callback function (say click a button, call the StartCaptureAsync), it may not work.

I googled and can't find a solution, please give me some help, many thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the applicationloopbackaudio-sample and trace StartCaptureAsync through ActivateAudioInterfaceAsync. Compare the working sample invocation with the DLL and Qt callback invocation, especially where the failure is intermittent. Done means the cause of HRESULT 0x80010106 is reproducible and documented, or the issue is narrowed to a specific integration condition.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.