| Index: content/renderer/media/media_stream_audio_processor.h
|
| diff --git a/content/renderer/media/media_stream_audio_processor.h b/content/renderer/media/media_stream_audio_processor.h
|
| index dabc42f291c5356181b0d22c5f31890b6551fa96..80a8705b5046db131b59c7c138c1393999bc2a52 100644
|
| --- a/content/renderer/media/media_stream_audio_processor.h
|
| +++ b/content/renderer/media/media_stream_audio_processor.h
|
| @@ -110,6 +110,15 @@ class CONTENT_EXPORT MediaStreamAudioProcessor :
|
| void OnDisableAecDump() override;
|
| void OnIpcClosing() override;
|
|
|
| + // Returns true if there are constraints or effects flags set to indicate that
|
| + // audio needs to be processed by MediaStreamAudioProcessor. Returns false if
|
| + // audio data should be directly delivered, unmodified, to all media stream
|
| + // sinks. See media::AudioParameters::PlatformEffectsMask for interpretation
|
| + // of |effects_flags|.
|
| + static bool ShouldRouteAudioThroughProcessor(
|
| + const blink::WebMediaConstraints& constraints,
|
| + int effects_flags);
|
| +
|
| protected:
|
| ~MediaStreamAudioProcessor() override;
|
|
|
|
|