Fixed spacing

This commit is contained in:
Sam Lantinga 2024-06-15 08:10:48 -07:00
parent 3b5dce10c4
commit 51f90f308b

View File

@ -732,10 +732,10 @@ static int AssignDeviceToAudioQueue(SDL_AudioDevice *device)
//This is the quickest fix
if (result != noErr) {
const char* msg = "AudioQueueSetProperty (kAudioQueueProperty_CurrentDevice)";
SDL_Log("COREAUDIO: Got error %d from '%s'!\n", (int)result, msg);
CFRelease(devuid);
return SDL_SetError("CoreAudio error (%s): %d", msg, (int)result);
const char* msg = "AudioQueueSetProperty (kAudioQueueProperty_CurrentDevice)";
SDL_Log("COREAUDIO: Got error %d from '%s'!\n", (int)result, msg);
CFRelease(devuid);
return SDL_SetError("CoreAudio error (%s): %d", msg, (int)result);
}
//Release once you've finished using CFStringRef