microsoft / microsoft/Windows-classic-samples
failed to call `ActivateAudioInterfaceAsync` , HRESULT: -2147417850 (0x80010106)
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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