| Index: webrtc/audio/audio_state.h
|
| diff --git a/webrtc/audio/audio_state.h b/webrtc/audio/audio_state.h
|
| index 31892d04faaa5141b9e25d9486553da4ce101b11..eacb4bd97507df3e3e2342c9d2cce6251d35e94f 100644
|
| --- a/webrtc/audio/audio_state.h
|
| +++ b/webrtc/audio/audio_state.h
|
| @@ -24,10 +24,12 @@ namespace internal {
|
| class AudioState final : public webrtc::AudioState,
|
| public webrtc::VoiceEngineObserver {
|
| public:
|
| - explicit AudioState(const AudioState::Config& config);
|
| + explicit AudioState(const AudioState::Config& config,
|
| + webrtc::AudioDeviceModule* adm);
|
| ~AudioState() override;
|
|
|
| VoiceEngine* voice_engine();
|
| + AudioDeviceModule* audio_device();
|
| bool typing_noise_detected() const;
|
|
|
| private:
|
| @@ -53,6 +55,8 @@ class AudioState final : public webrtc::AudioState,
|
| // Reference count; implementation copied from rtc::RefCountedObject.
|
| mutable volatile int ref_count_ = 0;
|
|
|
| + rtc::scoped_refptr<AudioDeviceModule> adm_;
|
| +
|
| RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioState);
|
| };
|
| } // namespace internal
|
|
|