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

Unified Diff: webrtc/pc/test/fakeaudiocapturemodule.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
« no previous file with comments | « webrtc/pc/test/fakeaudiocapturemodule.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/test/fakeaudiocapturemodule.cc
diff --git a/webrtc/pc/test/fakeaudiocapturemodule.cc b/webrtc/pc/test/fakeaudiocapturemodule.cc
index c1ac489b19cb25b2b9546a914e98945d03436944..0d367cb9c5e73ad2705bc394409b0ebf9fe47485 100644
--- a/webrtc/pc/test/fakeaudiocapturemodule.cc
+++ b/webrtc/pc/test/fakeaudiocapturemodule.cc
@@ -323,12 +323,6 @@ int32_t FakeAudioCaptureModule::MinSpeakerVolume(
return 0;
}
-int32_t FakeAudioCaptureModule::SpeakerVolumeStepSize(
- uint16_t* /*step_size*/) const {
- RTC_NOTREACHED();
- return 0;
-}
-
int32_t FakeAudioCaptureModule::MicrophoneVolumeIsAvailable(
bool* /*available*/) {
RTC_NOTREACHED();
@@ -359,12 +353,6 @@ int32_t FakeAudioCaptureModule::MinMicrophoneVolume(
return 0;
}
-int32_t FakeAudioCaptureModule::MicrophoneVolumeStepSize(
- uint16_t* /*step_size*/) const {
- RTC_NOTREACHED();
- return 0;
-}
-
int32_t FakeAudioCaptureModule::SpeakerMuteIsAvailable(bool* /*available*/) {
RTC_NOTREACHED();
return 0;
@@ -395,22 +383,6 @@ int32_t FakeAudioCaptureModule::MicrophoneMute(bool* /*enabled*/) const {
return 0;
}
-int32_t FakeAudioCaptureModule::MicrophoneBoostIsAvailable(
- bool* /*available*/) {
- RTC_NOTREACHED();
- return 0;
-}
-
-int32_t FakeAudioCaptureModule::SetMicrophoneBoost(bool /*enable*/) {
- RTC_NOTREACHED();
- return 0;
-}
-
-int32_t FakeAudioCaptureModule::MicrophoneBoost(bool* /*enabled*/) const {
- RTC_NOTREACHED();
- return 0;
-}
-
int32_t FakeAudioCaptureModule::StereoPlayoutIsAvailable(
bool* available) const {
// No recording device, just dropping audio. Stereo can be dropped just
@@ -467,18 +439,6 @@ int32_t FakeAudioCaptureModule::RecordingChannel(ChannelType* channel) const {
return 0;
}
-int32_t FakeAudioCaptureModule::SetPlayoutBuffer(const BufferType /*type*/,
- uint16_t /*size_ms*/) {
- RTC_NOTREACHED();
- return 0;
-}
-
-int32_t FakeAudioCaptureModule::PlayoutBuffer(BufferType* /*type*/,
- uint16_t* /*size_ms*/) const {
- RTC_NOTREACHED();
- return 0;
-}
-
int32_t FakeAudioCaptureModule::PlayoutDelay(uint16_t* delay_ms) const {
// No delay since audio frames are dropped.
*delay_ms = 0;
@@ -490,33 +450,6 @@ int32_t FakeAudioCaptureModule::RecordingDelay(uint16_t* /*delay_ms*/) const {
return 0;
}
-int32_t FakeAudioCaptureModule::CPULoad(uint16_t* /*load*/) const {
- RTC_NOTREACHED();
- return 0;
-}
-
-int32_t FakeAudioCaptureModule::StartRawOutputFileRecording(
- const char /*pcm_file_name_utf8*/[webrtc::kAdmMaxFileNameSize]) {
- RTC_NOTREACHED();
- return 0;
-}
-
-int32_t FakeAudioCaptureModule::StopRawOutputFileRecording() {
- RTC_NOTREACHED();
- return 0;
-}
-
-int32_t FakeAudioCaptureModule::StartRawInputFileRecording(
- const char /*pcm_file_name_utf8*/[webrtc::kAdmMaxFileNameSize]) {
- RTC_NOTREACHED();
- return 0;
-}
-
-int32_t FakeAudioCaptureModule::StopRawInputFileRecording() {
- RTC_NOTREACHED();
- return 0;
-}
-
int32_t FakeAudioCaptureModule::SetRecordingSampleRate(
const uint32_t /*samples_per_sec*/) {
RTC_NOTREACHED();
@@ -541,11 +474,6 @@ int32_t FakeAudioCaptureModule::PlayoutSampleRate(
return 0;
}
-int32_t FakeAudioCaptureModule::ResetAudioDevice() {
- RTC_NOTREACHED();
- return 0;
-}
-
int32_t FakeAudioCaptureModule::SetLoudspeakerStatus(bool /*enable*/) {
RTC_NOTREACHED();
return 0;
« no previous file with comments | « webrtc/pc/test/fakeaudiocapturemodule.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698