Răsfoiți Sursa

IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL

ALittleDruid 3 ani în urmă
părinte
comite
2f0edc2906
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      src/audio/wasapi/SDL_wasapi.c

+ 0 - 1
src/audio/wasapi/SDL_wasapi.c

@@ -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;
     }