Removes unused sample-rate APIs from the ADM.
The following four methods are removed: SetRecordingSampleRate(const uint32_t samplesPerSec) RecordingSampleRate(uint32_t* samplesPerSec) const SetPlayoutSampleRate(const uint32_t samplesPerSec) PlayoutSampleRate(uint32_t* samplesPerSec) const Bug: webrtc:7306 Change-Id: I2c3c2e7bd3fb1264da197699fd5de15ab6c35c1b Reviewed-on: https://webrtc-review.googlesource.com/22001 Commit-Queue: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20703}
This commit is contained in:
@ -385,12 +385,6 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
|
||||
input_.AttachAudioBuffer(audioBuffer);
|
||||
}
|
||||
|
||||
// TODO(henrika): remove
|
||||
int32_t SetPlayoutSampleRate(const uint32_t samplesPerSec) override {
|
||||
FATAL() << "Should never be called";
|
||||
return -1;
|
||||
}
|
||||
|
||||
int32_t SetLoudspeakerStatus(bool enable) override {
|
||||
FATAL() << "Should never be called";
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user