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

Unified Diff: content/renderer/media/media_stream_dependency_factory_unittest.cc

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: Fix after review from Chris 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/renderer/media/media_stream_dependency_factory_unittest.cc
diff --git a/content/renderer/media/media_stream_dependency_factory_unittest.cc b/content/renderer/media/media_stream_dependency_factory_unittest.cc
index 2e99cadf63039c98945c86dded7766a3e39c67eb..33a23097c203c37012cd8547e7b14673abeaf049 100644
--- a/content/renderer/media/media_stream_dependency_factory_unittest.cc
+++ b/content/renderer/media/media_stream_dependency_factory_unittest.cc
@@ -60,6 +60,8 @@ class MediaStreamDependencyFactoryTest : public ::testing::Test {
StreamDeviceInfo info;
info.device.type = content::MEDIA_DEVICE_AUDIO_CAPTURE;
info.device.name = "audio";
+ info.device.sample_rate = 0;
+ info.device.channel_layout = 0;
info.session_id = 99;
audio_sources[0].initialize("audio",
WebKit::WebMediaStreamSource::TypeAudio,
« no previous file with comments | « content/renderer/media/media_stream_dependency_factory.cc ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698