Index: webrtc/audio/audio_send_stream.h |
diff --git a/webrtc/audio/audio_send_stream.h b/webrtc/audio/audio_send_stream.h |
index ae81dfc8fca82c12fb258702e3411f870161c163..24e6328c5e63595d7b174c10983c6d893330ff82 100644 |
--- a/webrtc/audio/audio_send_stream.h |
+++ b/webrtc/audio/audio_send_stream.h |
@@ -12,20 +12,17 @@ |
#define WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_ |
#include "webrtc/audio_send_stream.h" |
-#include "webrtc/audio/scoped_voe_interface.h" |
#include "webrtc/base/thread_checker.h" |
-#include "webrtc/voice_engine/include/voe_base.h" |
namespace webrtc { |
- |
-class VoiceEngine; |
- |
namespace internal { |
+class AudioState; |
+ |
class AudioSendStream final : public webrtc::AudioSendStream { |
public: |
AudioSendStream(const webrtc::AudioSendStream::Config& config, |
- VoiceEngine* voice_engine); |
+ AudioState* audio_state); |
~AudioSendStream() override; |
// webrtc::SendStream implementation. |
@@ -42,9 +39,7 @@ class AudioSendStream final : public webrtc::AudioSendStream { |
private: |
rtc::ThreadChecker thread_checker_; |
const webrtc::AudioSendStream::Config config_; |
- VoiceEngine* voice_engine_; |
- // We hold one interface pointer to the VoE to make sure it is kept alive. |
- ScopedVoEInterface<VoEBase> voe_base_; |
+ AudioState* audio_state_; |
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream); |
}; |