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

Unified Diff: webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.mm

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/ios/audio_device_not_implemented_ios.mm
diff --git a/webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.mm b/webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.mm
index e975f4daa82c23d95e5ae0cf574eece53c3ff733..f67c0a96f3fb38719e58fadd58a7f070cb1bc53c 100644
--- a/webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.mm
+++ b/webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.mm
@@ -15,23 +15,12 @@
namespace webrtc {
-int32_t AudioDeviceIOS::PlayoutBuffer(AudioDeviceModule::BufferType& type,
- uint16_t& sizeMS) const {
- RTC_NOTREACHED() << "Not implemented";
- return -1;
-}
-
int32_t AudioDeviceIOS::ActiveAudioLayer(
AudioDeviceModule::AudioLayer& audioLayer) const {
audioLayer = AudioDeviceModule::kPlatformDefaultAudio;
return 0;
}
-int32_t AudioDeviceIOS::ResetAudioDevice() {
- RTC_NOTREACHED() << "Not implemented";
- return -1;
-}
-
int16_t AudioDeviceIOS::PlayoutDevices() {
// TODO(henrika): improve.
LOG_F(LS_WARNING) << "Not implemented";
@@ -77,11 +66,6 @@ int32_t AudioDeviceIOS::MinSpeakerVolume(uint32_t& minVolume) const {
return -1;
}
-int32_t AudioDeviceIOS::SpeakerVolumeStepSize(uint16_t& stepSize) const {
- RTC_NOTREACHED() << "Not implemented";
- return -1;
-}
-
int32_t AudioDeviceIOS::SpeakerMuteIsAvailable(bool& available) {
available = false;
return 0;
@@ -146,21 +130,6 @@ int32_t AudioDeviceIOS::MicrophoneMute(bool& enabled) const {
return -1;
}
-int32_t AudioDeviceIOS::MicrophoneBoostIsAvailable(bool& available) {
- available = false;
- return 0;
-}
-
-int32_t AudioDeviceIOS::SetMicrophoneBoost(bool enable) {
- RTC_NOTREACHED() << "Not implemented";
- return -1;
-}
-
-int32_t AudioDeviceIOS::MicrophoneBoost(bool& enabled) const {
- enabled = false;
- return 0;
-}
-
int32_t AudioDeviceIOS::StereoRecordingIsAvailable(bool& available) {
available = false;
return 0;
@@ -227,11 +196,6 @@ int32_t AudioDeviceIOS::MinMicrophoneVolume(uint32_t& minVolume) const {
return -1;
}
-int32_t AudioDeviceIOS::MicrophoneVolumeStepSize(uint16_t& stepSize) const {
- RTC_NOTREACHED() << "Not implemented";
- return -1;
-}
-
int32_t AudioDeviceIOS::PlayoutDeviceName(uint16_t index,
char name[kAdmMaxDeviceNameSize],
char guid[kAdmMaxGuidSize]) {
@@ -267,16 +231,4 @@ int32_t AudioDeviceIOS::RecordingIsAvailable(bool& available) {
return 0;
}
-int32_t AudioDeviceIOS::SetPlayoutBuffer(
- const AudioDeviceModule::BufferType type,
- uint16_t sizeMS) {
- RTC_NOTREACHED() << "Not implemented";
- return -1;
-}
-
-int32_t AudioDeviceIOS::CPULoad(uint16_t&) const {
- RTC_NOTREACHED() << "Not implemented";
- return -1;
-}
-
} // namespace webrtc
« no previous file with comments | « webrtc/modules/audio_device/ios/audio_device_ios.h ('k') | webrtc/modules/audio_device/linux/audio_device_alsa_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698