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

Unified Diff: webrtc/modules/audio_processing/test/conversational_speech/mock_wavreader.cc

Issue 2774423005: Conversational Speech tool, WavReaderAdaptor and unit test (Closed)
Patch Set: BUILD deps fixed Created 3 years, 8 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: webrtc/modules/audio_processing/test/conversational_speech/mock_wavreader.cc
diff --git a/webrtc/modules/audio_processing/test/conversational_speech/mock_wavreader.cc b/webrtc/modules/audio_processing/test/conversational_speech/mock_wavreader.cc
index 7d2f2b663e9e5509ba5f1120c66d23e82c5ff751..6b92339adcb44211155be71dd1876a220f56f9f3 100644
--- a/webrtc/modules/audio_processing/test/conversational_speech/mock_wavreader.cc
+++ b/webrtc/modules/audio_processing/test/conversational_speech/mock_wavreader.cc
@@ -20,9 +20,9 @@ MockWavReader::MockWavReader(
int sample_rate, size_t num_channels, size_t num_samples)
: sample_rate_(sample_rate), num_channels_(num_channels),
num_samples_(num_samples) {
- ON_CALL(*this, sample_rate()).WillByDefault(Return(sample_rate_));
- ON_CALL(*this, num_channels()).WillByDefault(Return(num_channels_));
- ON_CALL(*this, num_samples()).WillByDefault(Return(num_samples_));
+ ON_CALL(*this, SampleRate()).WillByDefault(Return(sample_rate_));
+ ON_CALL(*this, NumChannels()).WillByDefault(Return(num_channels_));
+ ON_CALL(*this, NumSamples()).WillByDefault(Return(num_samples_));
}
MockWavReader::~MockWavReader() = default;

Powered by Google App Engine
This is Rietveld 408576698