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

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

Issue 2392883002: Multi frequency DTMF support - sender side (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « webrtc/api/call/audio_send_stream.h ('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 25 matching lines...) Expand all
36 const rtc::scoped_refptr<webrtc::AudioState>& audio_state, 36 const rtc::scoped_refptr<webrtc::AudioState>& audio_state,
37 rtc::TaskQueue* worker_queue, 37 rtc::TaskQueue* worker_queue,
38 CongestionController* congestion_controller, 38 CongestionController* congestion_controller,
39 BitrateAllocator* bitrate_allocator, 39 BitrateAllocator* bitrate_allocator,
40 RtcEventLog* event_log); 40 RtcEventLog* event_log);
41 ~AudioSendStream() override; 41 ~AudioSendStream() override;
42 42
43 // webrtc::AudioSendStream implementation. 43 // webrtc::AudioSendStream implementation.
44 void Start() override; 44 void Start() override;
45 void Stop() override; 45 void Stop() override;
46 bool SendTelephoneEvent(int payload_type, int event, 46 bool SendTelephoneEvent(int payload_type, int payload_frequency, int event,
47 int duration_ms) override; 47 int duration_ms) override;
48 void SetMuted(bool muted) override; 48 void SetMuted(bool muted) override;
49 webrtc::AudioSendStream::Stats GetStats() const override; 49 webrtc::AudioSendStream::Stats GetStats() const override;
50 50
51 void SignalNetworkState(NetworkState state); 51 void SignalNetworkState(NetworkState state);
52 bool DeliverRtcp(const uint8_t* packet, size_t length); 52 bool DeliverRtcp(const uint8_t* packet, size_t length);
53 53
54 // Implements BitrateAllocatorObserver. 54 // Implements BitrateAllocatorObserver.
55 uint32_t OnBitrateUpdated(uint32_t bitrate_bps, 55 uint32_t OnBitrateUpdated(uint32_t bitrate_bps,
56 uint8_t fraction_loss, 56 uint8_t fraction_loss,
(...skipping 14 matching lines...) Expand all
71 std::unique_ptr<voe::ChannelProxy> channel_proxy_; 71 std::unique_ptr<voe::ChannelProxy> channel_proxy_;
72 72
73 BitrateAllocator* const bitrate_allocator_; 73 BitrateAllocator* const bitrate_allocator_;
74 74
75 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream); 75 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioSendStream);
76 }; 76 };
77 } // namespace internal 77 } // namespace internal
78 } // namespace webrtc 78 } // namespace webrtc
79 79
80 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_ 80 #endif // WEBRTC_AUDIO_AUDIO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/api/call/audio_send_stream.h ('k') | webrtc/audio/audio_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698