소스 검색

IAudioClient::SetEventHandle Parameter eventHandle Should not be NULL

ALittleDruid 3 년 전
부모
커밋
2f0edc2906
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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;
     }