【问题标题】:Why is AUDCLNT_E_ENDPOINT_CREATE_FAILED triggered when I use WASAPI to create an audio endpoint on a Windows computer?Why is AUDCLNT_E_ENDPOINT_CREATE_FAILED triggered when I use WASAPI to create an audio endpoint on a Windows computer?
【发布时间】:2022-11-09 11:17:20
【问题描述】:

I used Core Audio to collect audio on a Windows computer. There was no problem at first, but after calling the initialize interface many times, the AUDCLNT_E_ENDPOINT_CREATE_FAILED error message appeared. Does anyone know the reason?

API link is as follows:https://learn.microsoft.com/en-us/windows/win32/api/audioclient/nf-audioclient-iaudioclient-initialize

  • I don't know why, but I think this problem may be occured due to too many times open/close the audio endpoint, so that os banned this device.

标签: c++ windows audio core-audio wasapi


【解决方案1】:

Finally, I found the answer, the computer appeared AUDCLNT_E_ENDPOINT_CREATE_FAILED error msg, because of the Kaspersky anti-virus software baned the audio stream from computer to SDK. Therfore, I configured the white list of software, and SDK run normally.

    猜你喜欢
    • 2022-12-02
    • 2022-12-02
    • 2022-11-20
    • 2011-09-22
    • 2022-12-01
    • 2022-12-26
    • 2022-12-01
    • 1970-01-01
    • 2019-07-14
    相关资源
    最近更新 更多