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

Unified Diff: modules/audio_device/audio_device_data_observer.cc

Issue 3020493002: Remove AudioDeviceObserver and make ADM not inherit from the Module interface.
Patch Set: linux build error Created 3 years, 3 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: modules/audio_device/audio_device_data_observer.cc
diff --git a/modules/audio_device/audio_device_data_observer.cc b/modules/audio_device/audio_device_data_observer.cc
index a03c7fad1107a81e6afd1f7fa0c56457ad87ad26..a72fb8dc114b5d1c34051e734f0af84644ab71fd 100644
--- a/modules/audio_device/audio_device_data_observer.cc
+++ b/modules/audio_device/audio_device_data_observer.cc
@@ -36,12 +36,6 @@ class ADMWrapper : public AudioDeviceModule, public AudioTransport {
// Make sure we have a valid ADM before returning it to user.
bool IsValid() { return is_valid_; }
- // RefCountedModule methods overrides.
- int64_t TimeUntilNextProcess() override {
- return impl_->TimeUntilNextProcess();
- }
- void Process() override { return impl_->Process(); }
-
// AudioTransport methods overrides.
int32_t RecordedDataIsAvailable(const void* audioSamples,
const size_t nSamples,
@@ -127,9 +121,6 @@ class ADMWrapper : public AudioDeviceModule, public AudioTransport {
return impl_->ActiveAudioLayer(audio_layer);
}
ErrorCode LastError() const override { return impl_->LastError(); }
- int32_t RegisterEventObserver(AudioDeviceObserver* event_callback) override {
- return impl_->RegisterEventObserver(event_callback);
- }
int32_t Init() override { return impl_->Init(); }
int32_t Terminate() override { return impl_->Terminate(); }
bool Initialized() const override { return impl_->Initialized(); }

Powered by Google App Engine
This is Rietveld 408576698