SDL: Removed the AUDIODEV environment variable from the sndio audio driver

From f3fcc41a4ee2b78812dbfc2b46f7b077b0c35449 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 3 Aug 2024 08:40:12 -0700
Subject: [PATCH] Removed the AUDIODEV environment variable from the sndio
 audio driver

The sndio documentation says that the AUDIODEVICE environment variable is used when the device is opened with SIO_DEVANY.
---
 src/audio/sndio/SDL_sndioaudio.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/audio/sndio/SDL_sndioaudio.c b/src/audio/sndio/SDL_sndioaudio.c
index 9e94e87abd9dd..e8f59a64e2e4c 100644
--- a/src/audio/sndio/SDL_sndioaudio.c
+++ b/src/audio/sndio/SDL_sndioaudio.c
@@ -231,11 +231,8 @@ static int SNDIO_OpenDevice(SDL_AudioDevice *device)
         return -1;
     }
 
-    // !!! FIXME: we really should standardize this on a specific SDL hint.
-    const char *audiodev = SDL_getenv("AUDIODEV");
-
     // Recording devices must be non-blocking for SNDIO_FlushRecording
-    device->hidden->dev = SNDIO_sio_open(audiodev ? audiodev : SIO_DEVANY,
+    device->hidden->dev = SNDIO_sio_open(SIO_DEVANY,
                                          device->recording ? SIO_REC : SIO_PLAY, device->recording);
     if (!device->hidden->dev) {
         return SDL_SetError("sio_open() failed");