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

Unified Diff: webrtc/modules/audio_device/android/audio_device_template.h

Issue 3006803002: Removes unused APIs from the ADM (part II) (Closed)
Patch Set: nit Created 3 years, 4 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
« no previous file with comments | « no previous file | webrtc/modules/audio_device/audio_device_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/android/audio_device_template.h
diff --git a/webrtc/modules/audio_device/android/audio_device_template.h b/webrtc/modules/audio_device/android/audio_device_template.h
index 6b9cc0b56126fa8d660504e7821b78b92dd84d38..dc32feffab64935cd71b141be880ad3c03ab4134 100644
--- a/webrtc/modules/audio_device/android/audio_device_template.h
+++ b/webrtc/modules/audio_device/android/audio_device_template.h
@@ -276,11 +276,6 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
return output_.MinSpeakerVolume(minVolume);
}
- int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override {
- FATAL() << "Should never be called";
- return -1;
- }
-
int32_t MicrophoneVolumeIsAvailable(bool& available) override{
available = false;
return -1;
@@ -306,11 +301,6 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
return -1;
}
- int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const override {
- FATAL() << "Should never be called";
- return -1;
- }
-
int32_t SpeakerMuteIsAvailable(bool& available) override {
FATAL() << "Should never be called";
return -1;
@@ -341,21 +331,6 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
return -1;
}
- int32_t MicrophoneBoostIsAvailable(bool& available) override {
- FATAL() << "Should never be called";
- return -1;
- }
-
- int32_t SetMicrophoneBoost(bool enable) override {
- FATAL() << "Should never be called";
- return -1;
- }
-
- int32_t MicrophoneBoost(bool& enabled) const override {
- FATAL() << "Should never be called";
- return -1;
- }
-
int32_t StereoPlayoutIsAvailable(bool& available) override {
LOG(INFO) << __FUNCTION__;
available = false;
@@ -394,18 +369,6 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
return 0;
}
- int32_t SetPlayoutBuffer(
- const AudioDeviceModule::BufferType type, uint16_t sizeMS) override {
- FATAL() << "Should never be called";
- return -1;
- }
-
- int32_t PlayoutBuffer(
- AudioDeviceModule::BufferType& type, uint16_t& sizeMS) const override {
- FATAL() << "Should never be called";
- return -1;
- }
-
int32_t PlayoutDelay(uint16_t& delay_ms) const override {
// Best guess we can do is to use half of the estimated total delay.
delay_ms = audio_manager_->GetDelayEstimateInMilliseconds() / 2;
@@ -421,11 +384,6 @@ class AudioDeviceTemplate : public AudioDeviceGeneric {
return 0;
}
- int32_t CPULoad(uint16_t& load) const override {
- FATAL() << "Should never be called";
- return -1;
- }
-
bool PlayoutWarning() const override {
return false;
}
« no previous file with comments | « no previous file | webrtc/modules/audio_device/audio_device_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698