Remove AudioDeviceObserver and make ADM not inherit from the Module interface.
(Re-upload of https://codereview.webrtc.org/3020493002/) Bug: webrtc:4690, webrtc:7306 Change-Id: I67fb9ebca1296aabc08eae8a292a5c69832dc35e Reviewed-on: https://webrtc-review.googlesource.com/5360 Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20083}
This commit is contained in:
committed by
Commit Bot
parent
c007857ab9
commit
34cdd2d402
@ -391,30 +391,6 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool PlayoutWarning() const override {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool PlayoutError() const override {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool RecordingWarning() const override {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool RecordingError() const override {
|
||||
return false;
|
||||
}
|
||||
|
||||
void ClearPlayoutWarning() override { LOG(INFO) << __FUNCTION__; }
|
||||
|
||||
void ClearPlayoutError() override { LOG(INFO) << __FUNCTION__; }
|
||||
|
||||
void ClearRecordingWarning() override { LOG(INFO) << __FUNCTION__; }
|
||||
|
||||
void ClearRecordingError() override { LOG(INFO) << __FUNCTION__; }
|
||||
|
||||
void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override {
|
||||
LOG(INFO) << __FUNCTION__;
|
||||
output_.AttachAudioBuffer(audioBuffer);
|
||||
|
||||
Reference in New Issue
Block a user