SDL_net: update SDL_AUDIO_DEVICE_DEFAULT_* to the new names

From 8dffdd6ca620c6a991fa4dbec5495f6e0a955b2a Mon Sep 17 00:00:00 2001
From: Captain <[EMAIL REDACTED]>
Date: Sun, 16 Jun 2024 01:14:33 +0530
Subject: [PATCH] update SDL_AUDIO_DEVICE_DEFAULT_* to the new names

---
 examples/voipchat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/voipchat.c b/examples/voipchat.c
index 85c0b05..1739b45 100644
--- a/examples/voipchat.c
+++ b/examples/voipchat.c
@@ -297,12 +297,12 @@ static void run_voipchat(int argc, char **argv)
 
         SDL_Log("CLIENT: Server is at %s:%d.", SDLNet_GetAddressString(server_addr), (int) server_port);
 
-        audio_device = SDL_OpenAudioDevice(SDL_AUDIO_DEVICE_DEFAULT_OUTPUT, &audio_spec);
+        audio_device = SDL_OpenAudioDevice(SDL_AUDIO_DEVICE_DEFAULT_PLAYBACK, &audio_spec);
         if (!audio_device) {
             SDL_Log("CLIENT: Failed to open output audio device (%s), going on without sound playback!", SDL_GetError());
         }
 
-        capture_device = SDL_OpenAudioDevice(SDL_AUDIO_DEVICE_DEFAULT_CAPTURE, &audio_spec);
+        capture_device = SDL_OpenAudioDevice(SDL_AUDIO_DEVICE_DEFAULT_RECORDING, &audio_spec);
         if (!capture_device) {
             SDL_Log("CLIENT: Failed to open capture audio device (%s), going on without sound recording!", SDL_GetError());
         } else {