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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1647773002: MediaStream audio sourcing: Bypass audio processing for non-WebRTC cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOT FOR REVIEW -- This will be broken-up across multiple CLs. Created 4 years, 10 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/renderer/media/webrtc_local_audio_track_unittest.cc ('k') | media/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 0a2bebaee559eb465a070021987fd8fc8c3f2052..abc0a7932d5c3726986698f45131fd77e865d282 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -780,7 +780,9 @@ bool BlinkTestRunner::AddMediaStreamAudioSourceAndTrack(
#if defined(ENABLE_WEBRTC)
return AddAudioTrackToMediaStream(
make_scoped_refptr(new MockAudioCapturerSource()),
- false /* is_remote */, false /* is_readonly */, stream);
+ 48000 /* sample rate */, media::CHANNEL_LAYOUT_STEREO,
+ 480 /* sample frames per buffer */, false /* is_remote */,
+ false /* is_readonly */, stream);
#else
return false;
#endif
« no previous file with comments | « content/renderer/media/webrtc_local_audio_track_unittest.cc ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698