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

Unified Diff: webrtc/voice_engine/dtmf_inband_queue.h

Issue 1722253002: - Clean up unused voice engine DTMF code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@voe_dtmf_1
Patch Set: rebase Created 4 years, 9 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
« no previous file with comments | « webrtc/voice_engine/dtmf_inband.h ('k') | webrtc/voice_engine/dtmf_inband_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/dtmf_inband_queue.h
diff --git a/webrtc/voice_engine/dtmf_inband_queue.h b/webrtc/voice_engine/dtmf_inband_queue.h
deleted file mode 100644
index 08e8018316d88d9324d5fa970f470245ec209661..0000000000000000000000000000000000000000
--- a/webrtc/voice_engine/dtmf_inband_queue.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_VOICE_ENGINE_DTMF_INBAND_QUEUE_H
-#define WEBRTC_VOICE_ENGINE_DTMF_INBAND_QUEUE_H
-
-#include "webrtc/base/criticalsection.h"
-#include "webrtc/typedefs.h"
-#include "webrtc/voice_engine/voice_engine_defines.h"
-
-
-namespace webrtc {
-
-class DtmfInbandQueue
-{
-public:
-
- DtmfInbandQueue(int32_t id);
-
- virtual ~DtmfInbandQueue();
-
- int AddDtmf(uint8_t DtmfKey, uint16_t len, uint8_t level);
-
- int8_t NextDtmf(uint16_t* len, uint8_t* level);
-
- bool PendingDtmf();
-
- void ResetDtmf();
-
-private:
- enum {kDtmfInbandMax = 20};
-
- int32_t _id;
- rtc::CriticalSection _DtmfCritsect;
- uint8_t _nextEmptyIndex;
- uint8_t _DtmfKey[kDtmfInbandMax];
- uint16_t _DtmfLen[kDtmfInbandMax];
- uint8_t _DtmfLevel[kDtmfInbandMax];
-};
-
-} // namespace webrtc
-
-#endif // WEBRTC_VOICE_ENGINE_DTMF_INBAND_QUEUE_H
« no previous file with comments | « webrtc/voice_engine/dtmf_inband.h ('k') | webrtc/voice_engine/dtmf_inband_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698