mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
Dropping "SDL audio queue backed up..." to INFO (#3437)
* Update sdl_audio.cpp * clang (I hope) * clang
This commit is contained in:
@@ -61,9 +61,8 @@ public:
|
|||||||
// audio queue stalling, which may happen during device changes, for example.
|
// audio queue stalling, which may happen during device changes, for example.
|
||||||
// Otherwise, latency may grow over time unbounded.
|
// Otherwise, latency may grow over time unbounded.
|
||||||
if (const auto queued = SDL_GetAudioStreamQueued(stream); queued >= queue_threshold) {
|
if (const auto queued = SDL_GetAudioStreamQueued(stream); queued >= queue_threshold) {
|
||||||
LOG_WARNING(Lib_AudioOut,
|
LOG_INFO(Lib_AudioOut, "SDL audio queue backed up ({} queued, {} threshold), clearing.",
|
||||||
"SDL audio queue backed up ({} queued, {} threshold), clearing.", queued,
|
queued, queue_threshold);
|
||||||
queue_threshold);
|
|
||||||
SDL_ClearAudioStream(stream);
|
SDL_ClearAudioStream(stream);
|
||||||
// Recalculate the threshold in case this happened because of a device change.
|
// Recalculate the threshold in case this happened because of a device change.
|
||||||
CalculateQueueThreshold();
|
CalculateQueueThreshold();
|
||||||
|
|||||||
Reference in New Issue
Block a user