Dropping "SDL audio queue backed up..." to INFO (#3437)

* Update sdl_audio.cpp

* clang (I hope)

* clang
This commit is contained in:
Missake212
2025-08-21 12:47:43 +01:00
committed by GitHub
parent 165f3e1e78
commit 630fba2822

View File

@@ -61,9 +61,8 @@ public:
// audio queue stalling, which may happen during device changes, for example.
// Otherwise, latency may grow over time unbounded.
if (const auto queued = SDL_GetAudioStreamQueued(stream); queued >= queue_threshold) {
LOG_WARNING(Lib_AudioOut,
"SDL audio queue backed up ({} queued, {} threshold), clearing.", queued,
queue_threshold);
LOG_INFO(Lib_AudioOut, "SDL audio queue backed up ({} queued, {} threshold), clearing.",
queued, queue_threshold);
SDL_ClearAudioStream(stream);
// Recalculate the threshold in case this happened because of a device change.
CalculateQueueThreshold();