sdl2-compat: audio: Renamed new SDL3 API SDL_UnpauseAudioDevice to SDL_ResumeAudioDevice.

From f243ffb8ea6c769a8da46039dc0ba3f4526b11cb Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 5 Aug 2023 19:20:43 -0400
Subject: [PATCH] audio: Renamed new SDL3 API SDL_UnpauseAudioDevice to
 SDL_ResumeAudioDevice.

---
 src/sdl2_compat.c          | 2 +-
 src/sdl3_include_wrapper.h | 6 +++---
 src/sdl3_syms.h            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 87e2d29..f140c98 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -4265,7 +4265,7 @@ SDL_PauseAudioDevice(SDL_AudioDeviceID dev, int pause_on)
             if (pause_on) {
                 SDL3_PauseAudioDevice(device3);
             } else {
-                SDL3_UnpauseAudioDevice(device3);
+                SDL3_ResumeAudioDevice(device3);
             }
         }
     }
diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index 4aea63d..625dcd9 100644
--- a/src/sdl3_include_wrapper.h
+++ b/src/sdl3_include_wrapper.h
@@ -909,7 +909,7 @@
 #define SDL_GetSilenceValueForFormat IGNORE_THIS_VERSION_OF_SDL_GetSilenceValueForFormat
 #define SDL_LoadWAV IGNORE_THIS_VERSION_OF_SDL_LoadWAV
 #define SDL_PauseAudioDevice IGNORE_THIS_VERSION_OF_SDL_PauseAudioDevice
-#define SDL_UnpauseAudioDevice IGNORE_THIS_VERSION_OF_SDL_UnpauseAudioDevice
+#define SDL_ResumeAudioDevice IGNORE_THIS_VERSION_OF_SDL_ResumeAudioDevice
 #define SDL_IsAudioDevicePaused IGNORE_THIS_VERSION_OF_SDL_IsAudioDevicePaused
 #define SDL_GetAudioStreamBinding IGNORE_THIS_VERSION_OF_SDL_GetAudioStreamBinding
 #define SDL_ShowWindowSystemMenu IGNORE_THIS_VERSION_OF_SDL_ShowWindowSystemMenu
@@ -4495,8 +4495,8 @@ typedef void (__cdecl *pfnSDL_CurrentEndThread) (unsigned);
 #undef SDL_PauseAudioDevice
 #endif
 
-#ifdef SDL_UnpauseAudioDevice
-#undef SDL_UnpauseAudioDevice
+#ifdef SDL_ResumeAudioDevice
+#undef SDL_ResumeAudioDevice
 #endif
 
 #ifdef SDL_IsAudioDevicePaused
diff --git a/src/sdl3_syms.h b/src/sdl3_syms.h
index 8c6c1a8..3ef965b 100644
--- a/src/sdl3_syms.h
+++ b/src/sdl3_syms.h
@@ -919,7 +919,7 @@ SDL3_SYM(int,ConvertAudioSamples,(const SDL_AudioSpec *a, const Uint8 *b, int c,
 SDL3_SYM(int,GetSilenceValueForFormat,(SDL_AudioFormat a),(a),return)
 SDL3_SYM(int,LoadWAV,(const char *a, SDL_AudioSpec *b, Uint8 **c, Uint32 *d),(a,b,c,d),return)
 SDL3_SYM(int,PauseAudioDevice,(SDL_AudioDeviceID a),(a),return)
-SDL3_SYM(int,UnpauseAudioDevice,(SDL_AudioDeviceID a),(a),return)
+SDL3_SYM(int,ResumeAudioDevice,(SDL_AudioDeviceID a),(a),return)
 SDL3_SYM(SDL_bool,IsAudioDevicePaused,(SDL_AudioDeviceID a),(a),return)
 SDL3_SYM(SDL_AudioDeviceID,GetAudioStreamBinding,(SDL_AudioStream *a),(a),return)