mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL
This commit is contained in:

committed by
Sam Lantinga

parent
b7a0200aab
commit
2f0edc2906
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user