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

Unified Diff: webrtc/media/engine/fakewebrtcvoiceengine.h

Issue 2737633002: Remove VoEHardware interface usage. (Closed)
Patch Set: comments + compile issue Created 3 years, 9 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/media/engine/adm_helpers.cc ('k') | webrtc/media/engine/webrtcvoe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/fakewebrtcvoiceengine.h
diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h
index e44e44da75f2c1ea1250c631ade575d17d155234..e7d95d09e77ee7fb27407c5f8b8daf7b4e2748bb 100644
--- a/webrtc/media/engine/fakewebrtcvoiceengine.h
+++ b/webrtc/media/engine/fakewebrtcvoiceengine.h
@@ -59,8 +59,7 @@ static const int kOpusBandwidthFb = 20000;
#define WEBRTC_FUNC(method, args) int method args override
class FakeWebRtcVoiceEngine
- : public webrtc::VoEBase, public webrtc::VoECodec,
- public webrtc::VoEHardware {
+ : public webrtc::VoEBase, public webrtc::VoECodec {
public:
struct Channel {
std::vector<webrtc::CodecInst> recv_codecs;
@@ -203,26 +202,6 @@ class FakeWebRtcVoiceEngine
WEBRTC_STUB(SetOpusMaxPlaybackRate, (int channel, int frequency_hz));
WEBRTC_STUB(SetOpusDtx, (int channel, bool enable_dtx));
- // webrtc::VoEHardware
- WEBRTC_STUB(GetNumOfRecordingDevices, (int& num));
- WEBRTC_STUB(GetNumOfPlayoutDevices, (int& num));
- WEBRTC_STUB(GetRecordingDeviceName, (int i, char* name, char* guid));
- WEBRTC_STUB(GetPlayoutDeviceName, (int i, char* name, char* guid));
- WEBRTC_STUB(SetRecordingDevice, (int, webrtc::StereoChannel));
- WEBRTC_STUB(SetPlayoutDevice, (int));
- WEBRTC_STUB(SetAudioDeviceLayer, (webrtc::AudioLayers));
- WEBRTC_STUB(GetAudioDeviceLayer, (webrtc::AudioLayers&));
- WEBRTC_STUB(SetRecordingSampleRate, (unsigned int samples_per_sec));
- WEBRTC_STUB_CONST(RecordingSampleRate, (unsigned int* samples_per_sec));
- WEBRTC_STUB(SetPlayoutSampleRate, (unsigned int samples_per_sec));
- WEBRTC_STUB_CONST(PlayoutSampleRate, (unsigned int* samples_per_sec));
- WEBRTC_STUB(EnableBuiltInAEC, (bool enable));
- bool BuiltInAECIsAvailable() const override { return false; }
- WEBRTC_STUB(EnableBuiltInAGC, (bool enable));
- bool BuiltInAGCIsAvailable() const override { return false; }
- WEBRTC_STUB(EnableBuiltInNS, (bool enable));
- bool BuiltInNSIsAvailable() const override { return false; }
-
size_t GetNetEqCapacity() const {
auto ch = channels_.find(last_channel_);
RTC_DCHECK(ch != channels_.end());
« no previous file with comments | « webrtc/media/engine/adm_helpers.cc ('k') | webrtc/media/engine/webrtcvoe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698