SDL: cleanup/sync the main loop of *_OpenDevice functions to pick audio format II.

From 47ddb04e17d96170e0d5f92ab33d686fb2df42ab Mon Sep 17 00:00:00 2001
From: pionere <[EMAIL REDACTED]>
Date: Thu, 20 Jan 2022 12:31:02 +0100
Subject: [PATCH] cleanup/sync the main loop of *_OpenDevice functions to pick
 audio format II.

---
 src/audio/coreaudio/SDL_coreaudio.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio/coreaudio/SDL_coreaudio.m b/src/audio/coreaudio/SDL_coreaudio.m
index 3b0ef9d81a0..952a74d1a1b 100644
--- a/src/audio/coreaudio/SDL_coreaudio.m
+++ b/src/audio/coreaudio/SDL_coreaudio.m
@@ -1096,7 +1096,7 @@ output device (in which case we'll try again). */
     }
 
     if (!test_format) {      /* shouldn't happen, but just in case... */
-        return SDL_SetError("Unsupported audio format");
+        return SDL_SetError("%s: Unsupported audio format", "coreaudio");
     }
     this->spec.format = test_format;
     strdesc->mBitsPerChannel = SDL_AUDIO_BITSIZE(test_format);