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

Unified Diff: webrtc/voice_engine/channel_proxy.cc

Issue 1722253002: - Clean up unused voice engine DTMF code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@voe_dtmf_1
Patch Set: more remove Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/voice_engine/channel_proxy.cc
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc
index 3beaf9b2942c784acab4942fa5d7d7cb7e461b38..d501e1a4d300c7534acfb89cf080fe613b10acc1 100644
--- a/webrtc/voice_engine/channel_proxy.cc
+++ b/webrtc/voice_engine/channel_proxy.cc
@@ -143,16 +143,16 @@ uint32_t ChannelProxy::GetDelayEstimate() const {
return channel()->GetDelayEstimate();
}
-bool ChannelProxy::SetSendTelephoneEventPayloadType(int payload_type) {
+bool ChannelProxy::SetSendTelephoneEventPayloadType(uint8_t payload_type) {
RTC_DCHECK(thread_checker_.CalledOnValidThread());
return channel()->SetSendTelephoneEventPayloadType(payload_type) == 0;
}
bool ChannelProxy::SendTelephoneEventOutband(uint8_t event,
- uint32_t duration_ms) {
+ uint16_t duration_ms) {
RTC_DCHECK(thread_checker_.CalledOnValidThread());
return
- channel()->SendTelephoneEventOutband(event, duration_ms, 10, false) == 0;
+ channel()->SendTelephoneEventOutband(event, duration_ms) == 0;
}
void ChannelProxy::SetSink(std::unique_ptr<AudioSinkInterface> sink) {

Powered by Google App Engine
This is Rietveld 408576698