Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3151)

Unified Diff: content/renderer/media/media_stream_audio_processor_options.h

Issue 1893363002: Fix selection of "no audio processing" mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/media/media_stream_audio_processor_options.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_audio_processor_options.h
diff --git a/content/renderer/media/media_stream_audio_processor_options.h b/content/renderer/media/media_stream_audio_processor_options.h
index bb2a54e7c605d54e83cf5bf81d3e1168b8bb8050..2d5af1d4f41261f97fba8ace5a9072c6677499cc 100644
--- a/content/renderer/media/media_stream_audio_processor_options.h
+++ b/content/renderer/media/media_stream_audio_processor_options.h
@@ -83,6 +83,11 @@ class CONTENT_EXPORT MediaAudioConstraints {
// Otherwise return false.
bool IsValid() const;
+ // Exposed for testing.
+ bool default_audio_processing_constraint_value() const {
+ return default_audio_processing_constraint_value_;
+ }
+
private:
// Gets the default value of constraint named by |key| in |constraints|.
bool GetDefaultValueForConstraint(const std::string& key) const;
« no previous file with comments | « no previous file | content/renderer/media/media_stream_audio_processor_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698