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

Unified Diff: content/common/media/media_stream_options.h

Issue 11783059: Ensures that WebRTC works for device selection using a different sample rate than default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed content_unittests Created 7 years, 11 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
Index: content/common/media/media_stream_options.h
diff --git a/content/common/media/media_stream_options.h b/content/common/media/media_stream_options.h
index 2856a482a99376f4967303ab439bc6b880ecfe37..9fe31143dcfabe92321e443a3e38d66b3b64e024 100644
--- a/content/common/media/media_stream_options.h
+++ b/content/common/media/media_stream_options.h
@@ -49,6 +49,12 @@ struct CONTENT_EXPORT StreamDeviceInfo {
const std::string& name_param,
const std::string& device_param,
bool opened);
+ StreamDeviceInfo(MediaStreamType service_param,
+ const std::string& name_param,
+ const std::string& device_param,
+ int sample_rate,
+ int channel_layout,
+ bool opened);
static bool IsEqual(const StreamDeviceInfo& first,
const StreamDeviceInfo& second);

Powered by Google App Engine
This is Rietveld 408576698