lAudioClient::Initialize returned 0x8890017

zhangtie 0 Reputation points
2024-07-16T03:54:09.9566667+00:00

When testing the linphone sip phone software on windows, after hundreds of calls, it fails to intialize the audio interface. The error code is 0x8890017, sometimes 0x8007000e. The initializing code is like this:

result = mAudioClient->Initialize(AUDCLNT_SHAREMODE_SHARED, AUDCLNT_STREAMFLAGS_NOPERSIST | AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM |  AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY , requestedBufferDuration, 0, pUsedWfx, NULL);
	if ((result != S_OK) && (result != AUDCLNT_E_ALREADY_INITIALIZED)) {
		REPORT_ERROR("Could not initialize the MSWASAPI audio output interface [%x]", result);
	}

I found the description of the error code on the microsoft document, which is AUDCLNT_E_CPUUSAGE_EXCEEDED and E_OUTOFMEMORY.

So where is the cpu usage limit config, where can I find the exact limit throttle value?

And the memory usage is definitely not high, it's about 30%. Why does it report E_OUTOFMEMORY?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,525 questions
{count} votes