IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL

This commit is contained in:
ALittleDruid 2021-12-04 09:23:19 +08:00 committed by Sam Lantinga
parent b7a0200aab
commit 2f0edc2906
1 changed files with 0 additions and 1 deletions

View File

@ -425,7 +425,6 @@ ReleaseWasapiDevice(_THIS)
{ {
if (this->hidden->client) { if (this->hidden->client) {
IAudioClient_Stop(this->hidden->client); IAudioClient_Stop(this->hidden->client);
IAudioClient_SetEventHandle(this->hidden->client, NULL);
IAudioClient_Release(this->hidden->client); IAudioClient_Release(this->hidden->client);
this->hidden->client = NULL; this->hidden->client = NULL;
} }