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

Unified Diff: webrtc/modules/audio_device/audio_device_data_observer.cc

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
Index: webrtc/modules/audio_device/audio_device_data_observer.cc
diff --git a/webrtc/modules/audio_device/audio_device_data_observer.cc b/webrtc/modules/audio_device/audio_device_data_observer.cc
index 60ea1cdb92871275b00499b312842358e111a84e..23c3b9de839ba715bf7566cdbb39a50346495184 100644
--- a/webrtc/modules/audio_device/audio_device_data_observer.cc
+++ b/webrtc/modules/audio_device/audio_device_data_observer.cc
@@ -202,9 +202,6 @@ class ADMWrapper : public AudioDeviceModule, public AudioTransport {
int32_t MinSpeakerVolume(uint32_t* min_volume) const override {
return impl_->MinSpeakerVolume(min_volume);
}
- int32_t SpeakerVolumeStepSize(uint16_t* step_size) const override {
- return impl_->SpeakerVolumeStepSize(step_size);
- }
int32_t MicrophoneVolumeIsAvailable(bool* available) override {
return impl_->MicrophoneVolumeIsAvailable(available);
}
@@ -220,9 +217,6 @@ class ADMWrapper : public AudioDeviceModule, public AudioTransport {
int32_t MinMicrophoneVolume(uint32_t* min_volume) const override {
return impl_->MinMicrophoneVolume(min_volume);
}
- int32_t MicrophoneVolumeStepSize(uint16_t* step_size) const override {
- return impl_->MicrophoneVolumeStepSize(step_size);
- }
int32_t SpeakerMuteIsAvailable(bool* available) override {
return impl_->SpeakerMuteIsAvailable(available);
}
@@ -241,15 +235,6 @@ class ADMWrapper : public AudioDeviceModule, public AudioTransport {
int32_t MicrophoneMute(bool* enabled) const override {
return impl_->MicrophoneMute(enabled);
}
- int32_t MicrophoneBoostIsAvailable(bool* available) override {
- return impl_->MicrophoneBoostIsAvailable(available);
- }
- int32_t SetMicrophoneBoost(bool enable) override {
- return impl_->SetMicrophoneBoost(enable);
- }
- int32_t MicrophoneBoost(bool* enabled) const override {
- return impl_->MicrophoneBoost(enabled);
- }
int32_t StereoPlayoutIsAvailable(bool* available) const override {
return impl_->StereoPlayoutIsAvailable(available);
}
@@ -274,35 +259,12 @@ class ADMWrapper : public AudioDeviceModule, public AudioTransport {
int32_t RecordingChannel(ChannelType* channel) const override {
return impl_->RecordingChannel(channel);
}
- int32_t SetPlayoutBuffer(const BufferType type, uint16_t size_ms) override {
- return impl_->SetPlayoutBuffer(type, size_ms);
- }
- int32_t PlayoutBuffer(BufferType* type, uint16_t* size_ms) const override {
- return impl_->PlayoutBuffer(type, size_ms);
- }
int32_t PlayoutDelay(uint16_t* delay_ms) const override {
return impl_->PlayoutDelay(delay_ms);
}
int32_t RecordingDelay(uint16_t* delay_ms) const override {
return impl_->RecordingDelay(delay_ms);
}
- int32_t CPULoad(uint16_t* load) const override {
- return impl_->CPULoad(load);
- }
- int32_t StartRawOutputFileRecording(
- const char pcm_file_name_utf8[kAdmMaxFileNameSize]) override {
- return impl_->StartRawOutputFileRecording(pcm_file_name_utf8);
- }
- int32_t StopRawOutputFileRecording() override {
- return impl_->StopRawOutputFileRecording();
- }
- int32_t StartRawInputFileRecording(
- const char pcm_file_name_utf8[kAdmMaxFileNameSize]) override {
- return impl_->StartRawInputFileRecording(pcm_file_name_utf8);
- }
- int32_t StopRawInputFileRecording() override {
- return impl_->StopRawInputFileRecording();
- }
int32_t SetRecordingSampleRate(const uint32_t samples_per_sec) override {
return impl_->SetRecordingSampleRate(samples_per_sec);
}
@@ -315,7 +277,6 @@ class ADMWrapper : public AudioDeviceModule, public AudioTransport {
int32_t PlayoutSampleRate(uint32_t* samples_per_sec) const override {
return impl_->PlayoutSampleRate(samples_per_sec);
}
- int32_t ResetAudioDevice() override { return impl_->ResetAudioDevice(); }
int32_t SetLoudspeakerStatus(bool enable) override {
return impl_->SetLoudspeakerStatus(enable);
}
« no previous file with comments | « webrtc/modules/audio_device/audio_device_buffer.cc ('k') | webrtc/modules/audio_device/audio_device_generic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698