Renamed SDL_IsAudioDevicePaused() to SDL_AudioDevicePaused()

This aligns with the SDL3 convention of removing "Is" from self-explanatory function names

Also improved some documentation in SDL_audio.h
This commit is contained in:
Sam Lantinga committed 2023-09-12 12:11:09 -07:00
1 parent c6cad07faa
commit cd633b9a88
8 files changed
+19 -14

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ static void loop(void)
}
}
if (!SDL_IsAudioDevicePaused(devid_in)) {
if (!SDL_AudioDevicePaused(devid_in)) {
SDL_SetRenderDrawColor(renderer, 0, 255, 0, 255);
} else {
SDL_SetRenderDrawColor(renderer, 255, 0, 0, 255);