瀏覽代碼

Fixed typo in WASAPI shutdown code

Sam Lantinga 8 年之前
父節點
當前提交
f033ce61e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/audio/wasapi/SDL_wasapi.c

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

@@ -640,7 +640,7 @@ ReleaseWasapiDevice(_THIS)
 
     if (this->hidden->capture) {
         IAudioCaptureClient_Release(this->hidden->capture);
-        this->hidden->client = NULL;
+        this->hidden->capture = NULL;
     }
 
     if (this->hidden->waveformat) {