IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL

This commit is contained in:
ALittleDruid authored and Sam Lantinga committed 2021-12-06 09:02:31 -08:00
1 parent b7a0200aab
commit 2f0edc2906
1 file changed
-1
-1
View File
@@ -425,7 +425,6 @@ ReleaseWasapiDevice(_THIS)
{
if (this->hidden->client) {
IAudioClient_Stop(this->hidden->client);
IAudioClient_SetEventHandle(this->hidden->client, NULL);
IAudioClient_Release(this->hidden->client);
this->hidden->client = NULL;
}