فهرست منبع

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) {