Jelajahi Sumber

aaudio: Change an int to an SDL_bool.

Ryan C. Gordon 2 tahun lalu
induk
melakukan
a8813b58a6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/audio/aaudio/SDL_aaudio.c

+ 1 - 1
src/audio/aaudio/SDL_aaudio.c

@@ -44,7 +44,7 @@ struct SDL_PrivateAudioData
     size_t processed_bytes;
     SDL_Semaphore *semaphore;
     SDL_AtomicInt error_callback_triggered;
-    int resume;  // Resume device if it was paused automatically
+    SDL_bool resume;  // Resume device if it was paused automatically
 };
 
 // Debug