From c3373ad4dda5f43dce939a1d702e7b99df6eab64 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 20 Jun 2024 04:10:19 +0200 Subject: [PATCH] win-wasapi: Remove noisy and useless debug logging --- plugins/win-wasapi/win-wasapi.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/win-wasapi/win-wasapi.cpp b/plugins/win-wasapi/win-wasapi.cpp index 367152d1c..d3cbae5dd 100644 --- a/plugins/win-wasapi/win-wasapi.cpp +++ b/plugins/win-wasapi/win-wasapi.cpp @@ -1109,16 +1109,7 @@ bool WASAPISource::ProcessCaptureData() sawBadTimestamp = true; } - if (flags & AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY) { - /* libobs should handle discontinuities fine. */ - blog(LOG_DEBUG, "[WASAPISource::ProcessCaptureData]" - " Discontinuity flag is set."); - } - if (flags & AUDCLNT_BUFFERFLAGS_SILENT) { - blog(LOG_DEBUG, "[WASAPISource::ProcessCaptureData]" - " Silent flag is set."); - /* buffer size = frame size * number of frames * frame size = channels * sample size * sample size = 4 bytes (always float per InitFormat) */