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

Unified Diff: trunk/src/content/browser/media/capture/web_contents_audio_input_stream_unittest.cc

Issue 335343004: Revert 277794 "Modifies AudioInputCallback::OnData and use media..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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
« no previous file with comments | « no previous file | trunk/src/content/browser/renderer_host/media/audio_input_renderer_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/browser/media/capture/web_contents_audio_input_stream_unittest.cc
===================================================================
--- trunk/src/content/browser/media/capture/web_contents_audio_input_stream_unittest.cc (revision 277811)
+++ trunk/src/content/browser/media/capture/web_contents_audio_input_stream_unittest.cc (working copy)
@@ -161,11 +161,9 @@
public:
MockAudioInputCallback() {}
- MOCK_METHOD4(OnData,
- void(AudioInputStream* stream,
- const media::AudioBus* src,
- uint32 hardware_delay_bytes,
- double volume));
+ MOCK_METHOD5(OnData, void(AudioInputStream* stream, const uint8* src,
+ uint32 size, uint32 hardware_delay_bytes,
+ double volume));
MOCK_METHOD1(OnError, void(AudioInputStream* stream));
private:
@@ -240,7 +238,7 @@
static_cast<AudioMirroringManager::MirroringDestination*>(NULL)))
.RetiresOnSaturation();
- EXPECT_CALL(mock_input_callback_, OnData(NotNull(), NotNull(), _, _))
+ EXPECT_CALL(mock_input_callback_, OnData(NotNull(), NotNull(), _, _, _))
.WillRepeatedly(
InvokeWithoutArgs(&on_data_event_, &base::WaitableEvent::Signal));
« no previous file with comments | « no previous file | trunk/src/content/browser/renderer_host/media/audio_input_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698