mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
AK+LibAudio+AudioServer: Silence very noisy debug statements by default
These are spammed quite heavily on the debug console, especially at the end of audio playback.
This commit is contained in:
parent
976d9b32d6
commit
936ec94f81
4 changed files with 9 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <AK/Atomic.h>
|
||||
#include <AK/Debug.h>
|
||||
#include <AK/Format.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/Time.h>
|
||||
|
@ -97,7 +98,7 @@ void ConnectionToServer::custom_event(Core::CustomEvent&)
|
|||
Array<Sample, AUDIO_BUFFER_SIZE> next_chunk;
|
||||
while (true) {
|
||||
if (m_user_queue->is_empty()) {
|
||||
dbgln("Reached end of provided audio data, going to sleep");
|
||||
dbgln_if(AUDIO_DEBUG, "Reached end of provided audio data, going to sleep");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue