Update media_switches.cc

This commit is contained in:
Alexander David Frick 2022-09-11 15:38:28 -05:00 committed by GitHub
parent cad0916a1d
commit a05cd5dd8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,12 +72,6 @@ const char kTrySupportedChannelLayouts[] = "try-supported-channel-layouts";
// Number of buffers to use for WaveOut.
const char kWaveOutBuffers[] = "waveout-buffers";
// Emulates audio capture timestamps instead of using timestamps from the actual
// audio device.
// See crbug.com/1315231 for more details.
const char kUseFakeAudioCaptureTimestamps[] =
"use-fake-audio-capture-timestamps";
#endif // BUILDFLAG(IS_WIN)
#if BUILDFLAG(IS_FUCHSIA)
@ -196,7 +190,7 @@ const char kOverrideEnabledCdmInterfaceVersion[] =
// Overrides hardware secure codecs support for testing. If specified, real
// platform hardware secure codecs check will be skipped. Valid codecs are:
// - video: "vp8", "vp9", "avc1", "hevc", "dolbyvision"
// - video: "vp8", "vp9", "avc1", "hevc", "dolbyvision", "av01"
// - video that does not support clear lead: `<video>-no-clearlead`, where
// <video> is from the list above.
// - audio: "mp4a", "vorbis"
@ -900,6 +894,12 @@ const base::Feature kMediaFoundationClearPlayback{
const base::Feature MEDIA_EXPORT kWasapiRawAudioCapture{
"WASAPIRawAudioCapture", base::FEATURE_ENABLED_BY_DEFAULT};
// Emulates audio capture timestamps instead of using timestamps from the actual
// audio device.
// See crbug.com/1315231 for more details.
const base::Feature MEDIA_EXPORT kUseFakeAudioCaptureTimestamps{
"UseFakeAudioCaptureTimestamps", base::FEATURE_DISABLED_BY_DEFAULT};
// Enable VP9 kSVC decoding with HW decoder for webrtc use case on Windows.
const base::Feature kD3D11Vp9kSVCHWDecoding{"D3D11Vp9kSVCHWDecoding",
base::FEATURE_ENABLED_BY_DEFAULT};