Chromium Code Reviews| Index: webrtc/audio/audio_receive_stream.h |
| diff --git a/webrtc/audio/audio_receive_stream.h b/webrtc/audio/audio_receive_stream.h |
| index 5d02b0e2aecb9ac04fae18610d83c15a266a5f67..984d55b87377b67ed575ddc4138bfe5db03c7b54 100644 |
| --- a/webrtc/audio/audio_receive_stream.h |
| +++ b/webrtc/audio/audio_receive_stream.h |
| @@ -12,23 +12,22 @@ |
| #define WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ |
| #include "webrtc/audio_receive_stream.h" |
| -#include "webrtc/audio/scoped_voe_interface.h" |
| #include "webrtc/base/thread_checker.h" |
| #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" |
| -#include "webrtc/voice_engine/include/voe_base.h" |
| namespace webrtc { |
| class RemoteBitrateEstimator; |
| -class VoiceEngine; |
| namespace internal { |
| +class AudioState; |
| + |
| class AudioReceiveStream final : public webrtc::AudioReceiveStream { |
| public: |
| AudioReceiveStream(RemoteBitrateEstimator* remote_bitrate_estimator, |
| const webrtc::AudioReceiveStream::Config& config, |
| - VoiceEngine* voice_engine); |
| + AudioState* audio_state); |
|
tommi
2015/11/02 13:46:53
this would also bypass the linked_ptr... but I thi
the sun
2015/11/03 12:41:07
Acknowledged.
|
| ~AudioReceiveStream() override; |
| // webrtc::ReceiveStream implementation. |
| @@ -49,9 +48,7 @@ class AudioReceiveStream final : public webrtc::AudioReceiveStream { |
| rtc::ThreadChecker thread_checker_; |
| RemoteBitrateEstimator* const remote_bitrate_estimator_; |
| const webrtc::AudioReceiveStream::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::scoped_ptr<RtpHeaderParser> rtp_header_parser_; |
| RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); |