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

Side by Side Diff: webrtc/api/call/audio_send_stream.h

Issue 2392883002: Multi frequency DTMF support - sender side (Closed)
Patch Set: WVoMC unittests for multi rate DTMF send Created 4 years, 2 months 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
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 }; 140 };
141 141
142 // Starts stream activity. 142 // Starts stream activity.
143 // When a stream is active, it can receive, process and deliver packets. 143 // When a stream is active, it can receive, process and deliver packets.
144 virtual void Start() = 0; 144 virtual void Start() = 0;
145 // Stops stream activity. 145 // Stops stream activity.
146 // When a stream is stopped, it can't receive, process or deliver packets. 146 // When a stream is stopped, it can't receive, process or deliver packets.
147 virtual void Stop() = 0; 147 virtual void Stop() = 0;
148 148
149 // TODO(solenberg): Make payload_type a config property instead. 149 // TODO(solenberg): Make payload_type a config property instead.
150 virtual bool SendTelephoneEvent(int payload_type, int event, 150 virtual bool SendTelephoneEvent(int payload_type, int payload_frequency,
151 int duration_ms) = 0; 151 int event, int duration_ms) = 0;
152 152
153 virtual void SetMuted(bool muted) = 0; 153 virtual void SetMuted(bool muted) = 0;
154 154
155 virtual Stats GetStats() const = 0; 155 virtual Stats GetStats() const = 0;
156 156
157 protected: 157 protected:
158 virtual ~AudioSendStream() {} 158 virtual ~AudioSendStream() {}
159 }; 159 };
160 } // namespace webrtc 160 } // namespace webrtc
161 161
162 #endif // WEBRTC_API_CALL_AUDIO_SEND_STREAM_H_ 162 #endif // WEBRTC_API_CALL_AUDIO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/audio/audio_send_stream.h » ('j') | webrtc/media/engine/webrtcvoiceengine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698