src/media/webrtc/webrtc_switches.h
namespace switches {
COMPONENT_EXPORT(MEDIA_WEBRTC) extern const char kAgcStartupMinVolume[];
} // namespace switches
namespace features {
COMPONENT_EXPORT(MEDIA_WEBRTC)
extern const base::Feature kWebRtcApmInAudioService;
COMPONENT_EXPORT(MEDIA_WEBRTC)
extern const base::Feature kWebRtcEnableCaptureMultiChannelApm;
COMPONENT_EXPORT(MEDIA_WEBRTC)
extern const base::Feature kWebRtcHybridAgc;
} // namespace features
namespace switches {
COMPONENT_EXPORT(MEDIA_WEBRTC)
extern const char kForceDisableWebRtcApmInAudioService[];
} // namespace switches
namespace media {
COMPONENT_EXPORT(MEDIA_WEBRTC) bool IsWebRtcApmInAudioServiceEnabled();
} // namespace media
#endif
src/media/webrtc/webrtc_switches.cc
namespace switches {
// 開關用來決定是否覆蓋默認的起始音量,getUserMedia接口獲取的WebRTC自動增益音量範圍
// 在12-255之間。如果數值超範圍會被收斂到該區間內。
const char kAgcStartupMinVolume[] = "a