alsa: change an SDL_LogError into SDL_LogDebug.

it is informational only and seeing ERROR on the terminal was confusing
This commit is contained in:
Ozkan Sezer 2025-06-21 03:10:50 +03:00 committed by Sam Lantinga
parent bbc674b9e7
commit af8bee2dd1
1 changed files with 1 additions and 1 deletions

View File

@ -1157,7 +1157,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