Skip to content

Commit

Permalink
win-wasapi: Remove noisy and useless debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
derrod authored and Lain-B committed Jul 6, 2024
1 parent c6a100a commit 877ddad
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions plugins/win-wasapi/win-wasapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit 877ddad

Please sign in to comment.