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

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

Issue 2834643002: audioproc_f with simulated mic analog gain (Closed)
Patch Set: comments addressed 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/wav_based_simulator.h
diff --git a/webrtc/modules/audio_processing/test/wav_based_simulator.h b/webrtc/modules/audio_processing/test/wav_based_simulator.h
index c1fcf6163b107aff32ea7753a4627eaa37dce317..2b04c25a020266fd0b6feee10fe26115b57896de 100644
--- a/webrtc/modules/audio_processing/test/wav_based_simulator.h
+++ b/webrtc/modules/audio_processing/test/wav_based_simulator.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_WAV_BASED_SIMULATOR_H_
#define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_WAV_BASED_SIMULATOR_H_
+#include <string>
#include <vector>
#include "webrtc/modules/audio_processing/test/audio_processing_simulator.h"
@@ -45,7 +46,10 @@ class WavBasedSimulator final : public AudioProcessingSimulator {
const std::string& filename);
std::vector<SimulationEventType> call_chain_;
- int last_specified_microphone_level_ = 100;
+
+ // TODO(aleloi): Remove once a FakeRecordingDevice is addded as protected
+ // member of AudioProcessingSimulator.
+ int last_specified_microphone_level_ = kInitialMicrophoneGainLevel;
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WavBasedSimulator);
};

Powered by Google App Engine
This is Rietveld 408576698