Browse Source

win-wasapi: Remove noisy and useless debug logging

derrod 1 year ago
parent
commit
877ddad270
1 changed files with 0 additions and 9 deletions
  1. 0 9
      plugins/win-wasapi/win-wasapi.cpp

+ 0 - 9
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) */