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
2023-09-12 12:09:17 -07:00
parent c6cad07faa
commit cd633b9a88
8 changed files with 19 additions and 14 deletions

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