alsa: change an SDL_LogError into SDL_LogDebug.

it is informational only and seeing ERROR on the terminal was confusing

(cherry picked from commit af8bee2dd1)
This commit is contained in:
Ozkan Sezer
2025-06-21 03:10:50 +03:00
committed by Sam Lantinga
parent ad57c6ea37
commit 7261c43342

View File

@@ -1156,7 +1156,7 @@ static bool ALSA_OpenDevice(SDL_AudioDevice *device)
#if SDL_ALSA_DEBUG
snd_pcm_uframes_t bufsize;
ALSA_snd_pcm_hw_params_get_buffer_size(cfg_ctx.hwparams, &bufsize);
SDL_LogError(SDL_LOG_CATEGORY_AUDIO,
SDL_LogDebug(SDL_LOG_CATEGORY_AUDIO,
"ALSA: period size = %ld, periods = %u, buffer size = %lu",
cfg_ctx.persize, cfg_ctx.periods, bufsize);
#endif