diff options
Diffstat (limited to 'webrtc/voice_engine/voice_engine_impl.h')
-rw-r--r-- | webrtc/voice_engine/voice_engine_impl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webrtc/voice_engine/voice_engine_impl.h b/webrtc/voice_engine/voice_engine_impl.h index c3b2e5ced9..f98f881214 100644 --- a/webrtc/voice_engine/voice_engine_impl.h +++ b/webrtc/voice_engine/voice_engine_impl.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_VOICE_ENGINE_VOICE_ENGINE_IMPL_H #define WEBRTC_VOICE_ENGINE_VOICE_ENGINE_IMPL_H +#include "webrtc/base/scoped_ptr.h" #include "webrtc/engine_configurations.h" #include "webrtc/system_wrappers/include/atomic32.h" #include "webrtc/voice_engine/voe_base_impl.h" @@ -48,6 +49,9 @@ #endif namespace webrtc { +namespace voe { +class ChannelProxy; +} // namespace voe class VoiceEngineImpl : public voe::SharedData, // Must be the first base class public VoiceEngine, @@ -128,6 +132,10 @@ class VoiceEngineImpl : public voe::SharedData, // Must be the first base class // This implements the Release() method for all the inherited interfaces. int Release() override; + // Backdoor to access a voe::Channel object without a channel ID. This is only + // to be used while refactoring the VoE API! + virtual rtc::scoped_ptr<voe::ChannelProxy> GetChannelProxy(int channel_id); + // This is *protected* so that FakeVoiceEngine can inherit from the class and // manipulate the reference count. See: fake_voice_engine.h. protected: |