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

Unified Diff: content/public/common/media_stream_request.h

Issue 99033003: Enable platform echo cancellation through the AudioRecord path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 7 years 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
Index: content/public/common/media_stream_request.h
diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h
index e6870e150b09d024996e7f5eaa6806bea062b22b..a11793171a5fa0c137b3edcee996b485c2586cf0 100644
--- a/content/public/common/media_stream_request.h
+++ b/content/public/common/media_stream_request.h
@@ -106,14 +106,15 @@ struct CONTENT_EXPORT MediaStreamDevice {
// in media::AudioParameters.
struct AudioDeviceParameters {
AudioDeviceParameters()
- : sample_rate(), channel_layout(), frames_per_buffer() {
+ : sample_rate(), channel_layout(), frames_per_buffer(), effects() {
}
AudioDeviceParameters(int sample_rate, int channel_layout,
- int frames_per_buffer)
+ int frames_per_buffer)
: sample_rate(sample_rate),
channel_layout(channel_layout),
- frames_per_buffer(frames_per_buffer) {
+ frames_per_buffer(frames_per_buffer),
+ effects() {
}
// Preferred sample rate in samples per second for the device.
@@ -129,6 +130,9 @@ struct CONTENT_EXPORT MediaStreamDevice {
// expected browser side settings and avoid unnecessary buffering.
// See media::AudioParameters for more.
int frames_per_buffer;
+
+ // See media::AudioParameters::PlatformEffectsMask.
+ int effects;
};
// These below two member variables are valid only when the type of device is

Powered by Google App Engine
This is Rietveld 408576698