mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 11:57:24 +08:00
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:
committed by
Sam Lantinga
parent
bbc674b9e7
commit
af8bee2dd1
@@ -1157,7 +1157,7 @@ static bool ALSA_OpenDevice(SDL_AudioDevice *device)
|
|||||||
#if SDL_ALSA_DEBUG
|
#if SDL_ALSA_DEBUG
|
||||||
snd_pcm_uframes_t bufsize;
|
snd_pcm_uframes_t bufsize;
|
||||||
ALSA_snd_pcm_hw_params_get_buffer_size(cfg_ctx.hwparams, &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",
|
"ALSA: period size = %ld, periods = %u, buffer size = %lu",
|
||||||
cfg_ctx.persize, cfg_ctx.periods, bufsize);
|
cfg_ctx.persize, cfg_ctx.periods, bufsize);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user