Compare commits

...

2 commits

Author SHA1 Message Date
Rodney eff7547de0
Merge c3373ad4dd into 6cc0e2b803 2024-06-26 11:38:28 +08:00
derrod c3373ad4dd win-wasapi: Remove noisy and useless debug logging 2024-06-20 04:10:19 +02:00

View file

@ -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) */