| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 39   AudioReceiveStream(PacketRouter* packet_router, | 39   AudioReceiveStream(PacketRouter* packet_router, | 
| 40                      const webrtc::AudioReceiveStream::Config& config, | 40                      const webrtc::AudioReceiveStream::Config& config, | 
| 41                      const rtc::scoped_refptr<webrtc::AudioState>& audio_state, | 41                      const rtc::scoped_refptr<webrtc::AudioState>& audio_state, | 
| 42                      webrtc::RtcEventLog* event_log); | 42                      webrtc::RtcEventLog* event_log); | 
| 43   ~AudioReceiveStream() override; | 43   ~AudioReceiveStream() override; | 
| 44 | 44 | 
| 45   // webrtc::AudioReceiveStream implementation. | 45   // webrtc::AudioReceiveStream implementation. | 
| 46   void Start() override; | 46   void Start() override; | 
| 47   void Stop() override; | 47   void Stop() override; | 
| 48   webrtc::AudioReceiveStream::Stats GetStats() const override; | 48   webrtc::AudioReceiveStream::Stats GetStats() const override; | 
|  | 49   int GetOutputLevel() const override; | 
| 49   void SetSink(std::unique_ptr<AudioSinkInterface> sink) override; | 50   void SetSink(std::unique_ptr<AudioSinkInterface> sink) override; | 
| 50   void SetGain(float gain) override; | 51   void SetGain(float gain) override; | 
| 51 | 52 | 
| 52   // TODO(nisse): Intended to be part of an RtpPacketReceiver interface. | 53   // TODO(nisse): Intended to be part of an RtpPacketReceiver interface. | 
| 53   void OnRtpPacket(const RtpPacketReceived& packet); | 54   void OnRtpPacket(const RtpPacketReceived& packet); | 
| 54 | 55 | 
| 55   // AudioMixer::Source | 56   // AudioMixer::Source | 
| 56   AudioFrameInfo GetAudioFrameWithInfo(int sample_rate_hz, | 57   AudioFrameInfo GetAudioFrameWithInfo(int sample_rate_hz, | 
| 57                                        AudioFrame* audio_frame) override; | 58                                        AudioFrame* audio_frame) override; | 
| 58   int Ssrc() const override; | 59   int Ssrc() const override; | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 81   std::unique_ptr<voe::ChannelProxy> channel_proxy_; | 82   std::unique_ptr<voe::ChannelProxy> channel_proxy_; | 
| 82 | 83 | 
| 83   bool playing_ ACCESS_ON(worker_thread_checker_) = false; | 84   bool playing_ ACCESS_ON(worker_thread_checker_) = false; | 
| 84 | 85 | 
| 85   RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); | 86   RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioReceiveStream); | 
| 86 }; | 87 }; | 
| 87 }  // namespace internal | 88 }  // namespace internal | 
| 88 }  // namespace webrtc | 89 }  // namespace webrtc | 
| 89 | 90 | 
| 90 #endif  // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ | 91 #endif  // WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_ | 
| OLD | NEW | 
|---|