aboutsummaryrefslogtreecommitdiff
path: root/webrtc/voice_engine/voe_dtmf_impl.cc
diff options
context:
space:
mode:
authorhenrik.lundin@webrtc.org <henrik.lundin@webrtc.org>2014-09-23 12:54:04 +0000
committerhenrik.lundin@webrtc.org <henrik.lundin@webrtc.org>2014-09-23 12:54:04 +0000
commitbf7b9e0081233661ac0fe9500c0aa5b2aea70376 (patch)
treef743fedfeda45fccaa499e09599778e4f08e7dfa /webrtc/voice_engine/voe_dtmf_impl.cc
parente34a2e7475b5c97f1739974307bc48ed5f3d0644 (diff)
downloadwebrtc-bf7b9e0081233661ac0fe9500c0aa5b2aea70376.tar.gz
Remove DTMF status methods from Voice Engine
These methods are not used. R=henrika@webrtc.org, pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/24689004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7276 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/voice_engine/voe_dtmf_impl.cc')
-rw-r--r--webrtc/voice_engine/voe_dtmf_impl.cc47
1 files changed, 0 insertions, 47 deletions
diff --git a/webrtc/voice_engine/voe_dtmf_impl.cc b/webrtc/voice_engine/voe_dtmf_impl.cc
index 70872c694c..2d775e34ca 100644
--- a/webrtc/voice_engine/voe_dtmf_impl.cc
+++ b/webrtc/voice_engine/voe_dtmf_impl.cc
@@ -257,53 +257,6 @@ int VoEDtmfImpl::GetDtmfFeedbackStatus(bool& enabled, bool& directFeedback)
enabled, directFeedback);
return 0;
}
-
-int VoEDtmfImpl::SetDtmfPlayoutStatus(int channel, bool enable)
-{
- WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
- "SetDtmfPlayoutStatus(channel=%d, enable=%d)",
- channel, enable);
-
- if (!_shared->statistics().Initialized())
- {
- _shared->SetLastError(VE_NOT_INITED, kTraceError);
- return -1;
- }
- voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel);
- voe::Channel* channelPtr = ch.channel();
- if (channelPtr == NULL)
- {
- _shared->SetLastError(VE_CHANNEL_NOT_VALID, kTraceError,
- "SetDtmfPlayoutStatus() failed to locate channel");
- return -1;
- }
- return channelPtr->SetDtmfPlayoutStatus(enable);
-}
-
-int VoEDtmfImpl::GetDtmfPlayoutStatus(int channel, bool& enabled)
-{
- WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
- "GetDtmfPlayoutStatus(channel=%d, enabled=?)", channel);
- if (!_shared->statistics().Initialized())
- {
- _shared->SetLastError(VE_NOT_INITED, kTraceError);
- return -1;
- }
- voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel);
- voe::Channel* channelPtr = ch.channel();
- if (channelPtr == NULL)
- {
- _shared->SetLastError(VE_CHANNEL_NOT_VALID, kTraceError,
- "GetDtmfPlayoutStatus() failed to locate channel");
- return -1;
- }
- enabled = channelPtr->DtmfPlayoutStatus();
- WEBRTC_TRACE(kTraceStateInfo, kTraceVoice,
- VoEId(_shared->instance_id(), -1),
- "GetDtmfPlayoutStatus() => enabled=%d", enabled);
- return 0;
-}
-
#endif // #ifdef WEBRTC_VOICE_ENGINE_DTMF_API
} // namespace webrtc