Restructure the audioproc_f tool into a library with a thin executable wrapper.

This refactoring makes it easier to experiment with injectable components.

Bug: webrtc:8732
Change-Id: I2cd2a8ff80516a76aec814af02b61778915f2217
Reviewed-on: https://webrtc-review.googlesource.com/60863
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22372}
This commit is contained in:
Ivo Creusen
2018-03-09 17:33:04 +01:00
committed by Commit Bot
parent 45d9c1de9c
commit 8c812f3fc3
10 changed files with 88 additions and 17 deletions

View File

@ -23,7 +23,8 @@ namespace test {
// Used to perform an audio processing simulation from wav files.
class WavBasedSimulator final : public AudioProcessingSimulator {
public:
explicit WavBasedSimulator(const SimulationSettings& settings);
WavBasedSimulator(const SimulationSettings& settings,
std::unique_ptr<AudioProcessingBuilder> ap_builder);
~WavBasedSimulator() override;
// Processes the WAV input.