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

Unified Diff: webrtc/modules/audio_processing/test/test_utils.h

Issue 1411823003: Revert of Add aecdump support to audioproc_f. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 1 month 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/test_utils.h
diff --git a/webrtc/modules/audio_processing/test/test_utils.h b/webrtc/modules/audio_processing/test/test_utils.h
index f53d8ac81c242bc454e4d9f82a5698e5619c4de8..8dd380b15da3f131b91e7548bc12961a1470efbd 100644
--- a/webrtc/modules/audio_processing/test/test_utils.h
+++ b/webrtc/modules/audio_processing/test/test_utils.h
@@ -41,35 +41,6 @@
FILE* file_handle_;
RTC_DISALLOW_COPY_AND_ASSIGN(RawFile);
-};
-
-// Reads ChannelBuffers from a provided WavReader.
-class ChannelBufferWavReader final {
- public:
- explicit ChannelBufferWavReader(rtc::scoped_ptr<WavReader> file);
-
- // Reads data from the file according to the |buffer| format. Returns false if
- // a full buffer can't be read from the file.
- bool Read(ChannelBuffer<float>* buffer);
-
- private:
- rtc::scoped_ptr<WavReader> file_;
- std::vector<float> interleaved_;
-
- RTC_DISALLOW_COPY_AND_ASSIGN(ChannelBufferWavReader);
-};
-
-// Writes ChannelBuffers to a provided WavWriter.
-class ChannelBufferWavWriter final {
- public:
- explicit ChannelBufferWavWriter(rtc::scoped_ptr<WavWriter> file);
- void Write(const ChannelBuffer<float>& buffer);
-
- private:
- rtc::scoped_ptr<WavWriter> file_;
- std::vector<float> interleaved_;
-
- RTC_DISALLOW_COPY_AND_ASSIGN(ChannelBufferWavWriter);
};
void WriteIntData(const int16_t* data,
@@ -147,9 +118,6 @@
std::vector<Point> ParseArrayGeometry(const std::string& mic_positions,
size_t num_mics);
-// Same as above, but without the num_mics check for when it isn't available.
-std::vector<Point> ParseArrayGeometry(const std::string& mic_positions);
-
} // namespace webrtc
#endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_TEST_UTILS_H_
« no previous file with comments | « webrtc/modules/audio_processing/test/process_test.cc ('k') | webrtc/modules/audio_processing/test/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698