Parcourir la source

Fixed typo in WASAPI shutdown code

Sam Lantinga il y a 8 ans
Parent
commit
f033ce61e1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) {