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

Unified Diff: webrtc/modules/rtp_rtcp/source/dtmf_queue.cc

Issue 2365873002: Make RtpSenderAudio not inherit from DtmfQueue (Closed)
Patch Set: Make RtpSenderAudio not inherit from DtmfQueue Created 4 years, 3 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/modules/rtp_rtcp/source/dtmf_queue.cc
diff --git a/webrtc/modules/rtp_rtcp/source/dtmf_queue.cc b/webrtc/modules/rtp_rtcp/source/dtmf_queue.cc
index 81e8b5926e2f6af288fa8bc6df548fd915424544..8dbfaa2f3c1b6889be85b7f2d954c320f4bcab18 100644
--- a/webrtc/modules/rtp_rtcp/source/dtmf_queue.cc
+++ b/webrtc/modules/rtp_rtcp/source/dtmf_queue.cc
@@ -19,8 +19,6 @@ DTMFqueue::DTMFqueue() : next_empty_index_(0) {
memset(dtmf_level_, 0, sizeof(dtmf_level_));
}
-DTMFqueue::~DTMFqueue() {}
-
int32_t DTMFqueue::AddDTMF(uint8_t key, uint16_t len, uint8_t level) {
rtc::CritScope lock(&dtmf_critsect_);
@@ -59,9 +57,4 @@ bool DTMFqueue::PendingDTMF() {
rtc::CritScope lock(&dtmf_critsect_);
return next_empty_index_ > 0;
}
-
-void DTMFqueue::ResetDTMF() {
- rtc::CritScope lock(&dtmf_critsect_);
- next_empty_index_ = 0;
-}
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698