summaryrefslogtreecommitdiff
path: root/voice_engine/dtmf_inband_queue.h
diff options
context:
space:
mode:
authorpbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-04-09 10:09:10 +0000
committerpbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-04-09 10:09:10 +0000
commit54f03bc96c30337a3a97af7262cfb5148063b162 (patch)
tree7ea8ea88941b30b55449b7e64f06383cb9f67611 /voice_engine/dtmf_inband_queue.h
parentc0231afbbf1d7bac40b77da5933715dc63c88144 (diff)
downloadwebrtc-54f03bc96c30337a3a97af7262cfb5148063b162.tar.gz
WebRtc_Word32 -> int32_t in voice_engine/
BUG=314 Review URL: https://webrtc-codereview.appspot.com/1305004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3792 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/dtmf_inband_queue.h')
-rw-r--r--voice_engine/dtmf_inband_queue.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/voice_engine/dtmf_inband_queue.h b/voice_engine/dtmf_inband_queue.h
index b3bd39e8..6a65c9e0 100644
--- a/voice_engine/dtmf_inband_queue.h
+++ b/voice_engine/dtmf_inband_queue.h
@@ -22,15 +22,13 @@ class DtmfInbandQueue
{
public:
- DtmfInbandQueue(const WebRtc_Word32 id);
+ DtmfInbandQueue(const int32_t id);
virtual ~DtmfInbandQueue();
- int AddDtmf(WebRtc_UWord8 DtmfKey,
- WebRtc_UWord16 len,
- WebRtc_UWord8 level);
+ int AddDtmf(uint8_t DtmfKey, uint16_t len, uint8_t level);
- WebRtc_Word8 NextDtmf(WebRtc_UWord16* len, WebRtc_UWord8* level);
+ int8_t NextDtmf(uint16_t* len, uint8_t* level);
bool PendingDtmf();
@@ -39,12 +37,12 @@ public:
private:
enum {kDtmfInbandMax = 20};
- WebRtc_Word32 _id;
+ int32_t _id;
CriticalSectionWrapper& _DtmfCritsect;
- WebRtc_UWord8 _nextEmptyIndex;
- WebRtc_UWord8 _DtmfKey[kDtmfInbandMax];
- WebRtc_UWord16 _DtmfLen[kDtmfInbandMax];
- WebRtc_UWord8 _DtmfLevel[kDtmfInbandMax];
+ uint8_t _nextEmptyIndex;
+ uint8_t _DtmfKey[kDtmfInbandMax];
+ uint16_t _DtmfLen[kDtmfInbandMax];
+ uint8_t _DtmfLevel[kDtmfInbandMax];
};
} // namespace webrtc