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

Unified Diff: content/browser/renderer_host/media/media_stream_ui_proxy.cc

Issue 348443002: Revert 274823 "Support for audio output devices for getMediaDevi..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2057/src/
Patch Set: Created 6 years, 6 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/browser/renderer_host/media/media_stream_ui_proxy.cc
===================================================================
--- content/browser/renderer_host/media/media_stream_ui_proxy.cc (revision 278170)
+++ content/browser/renderer_host/media/media_stream_ui_proxy.cc (working copy)
@@ -229,8 +229,8 @@
for (MediaStreamDevices::const_iterator it = devices_.begin();
it != devices_.end(); ++it) {
if (!accepted_audio &&
- IsAudioInputMediaType(request.audio_type) &&
- IsAudioInputMediaType(it->type) &&
+ IsAudioMediaType(request.audio_type) &&
+ IsAudioMediaType(it->type) &&
(request.requested_audio_device_id.empty() ||
request.requested_audio_device_id == it->id)) {
devices_to_use.push_back(*it);
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698