Update audio_low_latency_input_win.cc

This commit is contained in:
Alexander David Frick 2022-09-11 16:26:36 -05:00 committed by GitHub
parent a1eb867194
commit f578f35d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,6 @@
#include <memory>
#include <utility>
#include "base/command_line.h"
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
@ -426,9 +425,8 @@ AudioInputStream::OpenOutcome WASAPIAudioInputStream::Open() {
}
}
const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
use_fake_audio_capture_timestamps_ =
cmd_line->HasSwitch(switches::kUseFakeAudioCaptureTimestamps);
base::FeatureList::IsEnabled(media::kUseFakeAudioCaptureTimestamps);
if (use_fake_audio_capture_timestamps_) {
SendLogMessage("%s => (WARNING: capture timestamps will be fake)",
__func__);