Index: talk/session/media/channel.h |
diff --git a/talk/session/media/channel.h b/talk/session/media/channel.h |
index 9342d31a257c79b4de5d37cde08242ae0c79acbb..ef0eb562f9dc36a710204d9798cf0e75a7580360 100644 |
--- a/talk/session/media/channel.h |
+++ b/talk/session/media/channel.h |
@@ -355,8 +355,6 @@ class VoiceChannel : public BaseChannel { |
// own ringing sound |
sigslot::signal1<VoiceChannel*> SignalEarlyMediaTimeout; |
- // TODO(ronghuawu): Replace PressDTMF with InsertDtmf. |
- bool PressDTMF(int digit, bool playout); |
// Returns if the telephone-event has been negotiated. |
bool CanInsertDtmf(); |
// Send and/or play a DTMF |event| according to the |flags|. |
@@ -364,7 +362,7 @@ class VoiceChannel : public BaseChannel { |
// The |ssrc| should be either 0 or a valid send stream ssrc. |
// The valid value for the |event| are 0 which corresponding to DTMF |
// event 0-9, *, #, A-D. |
- bool InsertDtmf(uint32_t ssrc, int event_code, int duration, int flags); |
+ bool InsertDtmf(uint32_t ssrc, int event_code, int duration); |
bool SetOutputVolume(uint32_t ssrc, double volume); |
// Get statistics about the current media session. |
bool GetStats(VoiceMediaInfo* stats); |
@@ -401,7 +399,7 @@ class VoiceChannel : public BaseChannel { |
ContentAction action, |
std::string* error_desc); |
void HandleEarlyMediaTimeout(); |
- bool InsertDtmf_w(uint32_t ssrc, int event, int duration, int flags); |
+ bool InsertDtmf_w(uint32_t ssrc, int event, int duration); |
bool SetOutputVolume_w(uint32_t ssrc, double volume); |
bool GetStats_w(VoiceMediaInfo* stats); |