mirror of https://github.com/encounter/SDL.git
IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue