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

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

Issue 23731007: Implicit audio output device selection for getUserMedia. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 3 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 | « content/common/media/media_stream_messages.h ('k') | content/common/media/media_stream_options.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bbb1aa4b8cd424ce007f74bf1991576ff6ad3b2f..bd8c775568b9d0f3358eccdf4a8fa704d1f1715f 100644
--- a/content/common/media/media_stream_options.h
+++ b/content/common/media/media_stream_options.h
@@ -52,11 +52,13 @@ struct CONTENT_EXPORT StreamDeviceInfo {
const std::string& device_param,
int sample_rate,
int channel_layout,
+ int frames_per_buffer,
bool opened);
static bool IsEqual(const StreamDeviceInfo& first,
const StreamDeviceInfo& second);
MediaStreamDevice device;
+
// Set to true if the device has been opened, false otherwise.
bool in_use;
// Id for this capture session. Unique for all sessions of the same type.
« no previous file with comments | « content/common/media/media_stream_messages.h ('k') | content/common/media/media_stream_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698