Browse Source

aaudio: Fixed a comment.

Ryan C. Gordon 1 year ago
parent
commit
49abb9c1fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/audio/aaudio/SDL_aaudio.c

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

@@ -83,7 +83,7 @@ static void AAUDIO_errorCallback(AAudioStream *stream, void *userData, aaudio_re
     LOGI("SDL AAUDIO_errorCallback: %d - %s", error, ctx.AAudio_convertResultToText(error));
 
     // You MUST NOT close the audio stream from this callback, so we cannot call SDL_AudioDeviceDisconnected here.
-    // Just flag the device so we can kill it in WaitDevice/PlayDevice instead.
+    // Just flag the device so we can kill it in PlayDevice instead.
     SDL_AudioDevice *device = (SDL_AudioDevice *) userData;
     SDL_AtomicSet(&device->hidden->error_callback_triggered, (int) error);  // AAUDIO_OK is zero, so !triggered means no error.
     SDL_PostSemaphore(device->hidden->semaphore);  // in case we're blocking in WaitDevice.