Removes deprecated AGC APIs from the AMD interface.
Usage of these APIs are now removed in Chrome as well. TBR=solenberg Bug: webrtc:7306 Change-Id: Id20e67bb2ba4e0bad1dd152030e4085631939d6a Reviewed-on: https://webrtc-review.googlesource.com/36080 Reviewed-by: Henrik Andreassson (OOO until Jan 2) <henrika@webrtc.org> Commit-Queue: Henrik Andreassson (OOO until Jan 2) <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21424}
This commit is contained in:
parent
442022ccd8
commit
b4834b3696
@ -101,10 +101,6 @@ class AudioDeviceModule : public rtc::RefCountInterface {
|
||||
virtual int32_t StopRecording() = 0;
|
||||
virtual bool Recording() const = 0;
|
||||
|
||||
// TODO(bugs.webrtc.org/7306): deprecated (to be removed).
|
||||
virtual int32_t SetAGC(bool enable) { return -1; }
|
||||
virtual bool AGC() const { return false; }
|
||||
|
||||
// Audio mixer initialization
|
||||
virtual int32_t InitSpeaker() = 0;
|
||||
virtual bool SpeakerIsInitialized() const = 0;
|
||||
|
||||
@ -69,7 +69,6 @@ class FakeAudioDeviceModule : public AudioDeviceModule {
|
||||
bool Playing() const override { return false; }
|
||||
int32_t StartRecording() override { return 0; }
|
||||
bool Recording() const override { return false; }
|
||||
bool AGC() const override { return true; }
|
||||
bool SpeakerIsInitialized() const override { return true; }
|
||||
bool MicrophoneIsInitialized() const override { return true; }
|
||||
int32_t SpeakerVolumeIsAvailable(bool* available) override { return 0; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user