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

Side by Side Diff: webrtc/audio/audio_send_stream.h

Issue 1491743004: Refactor WVoE DTMF handling #2 (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@wvoe_dtmf
Patch Set: rebase Created 5 years 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 unified diff | Download patch
« no previous file with comments | « talk/media/webrtc/webrtcvoiceengine_unittest.cc ('k') | webrtc/audio/audio_send_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
30 const rtc::scoped_refptr<webrtc::AudioState>& audio_state); 30 const rtc::scoped_refptr<webrtc::AudioState>& audio_state);
31 ~AudioSendStream() override; 31 ~AudioSendStream() override;
32 32
33 // webrtc::SendStream implementation. 33 // webrtc::SendStream implementation.
34 void Start() override; 34 void Start() override;
35 void Stop() override; 35 void Stop() override;
36 void SignalNetworkState(NetworkState state) override; 36 void SignalNetworkState(NetworkState state) override;
37 bool DeliverRtcp(const uint8_t* packet, size_t length) override; 37 bool DeliverRtcp(const uint8_t* packet, size_t length) override;
38 38
39 // webrtc::AudioSendStream implementation. 39 // webrtc::AudioSendStream implementation.
40 bool SendTelephoneEvent(int payload_type, uint8_t event,
41 uint32_t duration_ms) override;
40 webrtc::AudioSendStream::Stats GetStats() const override; 42 webrtc::AudioSendStream::Stats GetStats() const override;
41 43
42 const webrtc::AudioSendStream::Config& config() const; 44 const webrtc::AudioSendStream::Config& config() const;
43 45
44 private: 46 private:
45 VoiceEngine* voice_engine() const; 47 VoiceEngine* voice_engine() const;
46 48
47 rtc::ThreadChecker thread_checker_; 49 rtc::ThreadChecker thread_checker_;
48 const webrtc::AudioSendStream::Config config_; 50 const webrtc::AudioSendStream::Config config_;
49 rtc::scoped_refptr<webrtc::AudioState> audio_state_; 51 rtc::scoped_refptr<webrtc::AudioState> audio_state_;
50 rtc::scoped_ptr<voe::ChannelProxy> channel_proxy_; 52 rtc::scoped_ptr<voe::ChannelProxy> channel_proxy_;
51 53
52 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream); 54 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream);
53 }; 55 };
54 } // namespace internal 56 } // namespace internal
55 } // namespace webrtc 57 } // namespace webrtc
56 58
57 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_ 59 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/webrtcvoiceengine_unittest.cc ('k') | webrtc/audio/audio_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698