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

Unified Diff: webrtc/audio/audio_send_stream.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/audio/audio_send_stream.h ('k') | webrtc/audio/audio_send_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_send_stream.cc
diff --git a/webrtc/audio/audio_send_stream.cc b/webrtc/audio/audio_send_stream.cc
index a96eaf83f83a2928226651630e24a1b596c36587..cb5fe0905c67d7c76d4a7cea9d597a6151acaedb 100644
--- a/webrtc/audio/audio_send_stream.cc
+++ b/webrtc/audio/audio_send_stream.cc
@@ -135,10 +135,12 @@ void AudioSendStream::Stop() {
}
}
-bool AudioSendStream::SendTelephoneEvent(int payload_type, int event,
+bool AudioSendStream::SendTelephoneEvent(int payload_type,
+ int payload_frequency, int event,
int duration_ms) {
RTC_DCHECK(thread_checker_.CalledOnValidThread());
- return channel_proxy_->SetSendTelephoneEventPayloadType(payload_type) &&
+ return channel_proxy_->SetSendTelephoneEventPayloadType(payload_type,
+ payload_frequency) &&
channel_proxy_->SendTelephoneEventOutband(event, duration_ms);
}
« no previous file with comments | « webrtc/audio/audio_send_stream.h ('k') | webrtc/audio/audio_send_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698