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

Unified Diff: media/audio/alsa/alsa_output_unittest.cc

Issue 1864483002: Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 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/browser/renderer_host/media/video_capture_manager.cc ('k') | media/audio/alsa/audio_manager_alsa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/alsa/alsa_output_unittest.cc
diff --git a/media/audio/alsa/alsa_output_unittest.cc b/media/audio/alsa/alsa_output_unittest.cc
index f63697208e13cad50120369ced76eea8d9b2829f..ce66804bf80c2c3d787d505545133d69bb737d63 100644
--- a/media/audio/alsa/alsa_output_unittest.cc
+++ b/media/audio/alsa/alsa_output_unittest.cc
@@ -82,13 +82,17 @@ class MockAudioManagerAlsa : public AudioManagerAlsa {
MOCK_METHOD0(Init, void());
MOCK_METHOD0(HasAudioOutputDevices, bool());
MOCK_METHOD0(HasAudioInputDevices, bool());
- MOCK_METHOD1(MakeLinearOutputStream, AudioOutputStream*(
- const AudioParameters& params));
- MOCK_METHOD2(MakeLowLatencyOutputStream, AudioOutputStream*(
- const AudioParameters& params,
- const std::string& device_id));
- MOCK_METHOD2(MakeLowLatencyInputStream, AudioInputStream*(
- const AudioParameters& params, const std::string& device_id));
+ MOCK_METHOD2(MakeLinearOutputStream,
+ AudioOutputStream*(const AudioParameters& params,
+ const LogCallback& log_callback));
+ MOCK_METHOD3(MakeLowLatencyOutputStream,
+ AudioOutputStream*(const AudioParameters& params,
+ const std::string& device_id,
+ const LogCallback& log_callback));
+ MOCK_METHOD3(MakeLowLatencyInputStream,
+ AudioInputStream*(const AudioParameters& params,
+ const std::string& device_id,
+ const LogCallback& log_callback));
// We need to override this function in order to skip the checking the number
// of active output streams. It is because the number of active streams
« no previous file with comments | « content/browser/renderer_host/media/video_capture_manager.cc ('k') | media/audio/alsa/audio_manager_alsa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698