summaryrefslogtreecommitdiffstats
path: root/remoting/host/audio_silence_detector.h
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-22 14:49:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-22 22:50:51 +0000
commitc5960f3143870ec1fbb1dd7280238b324c49c694 (patch)
tree0f0acfc895b17661165ee5770c50ac006fdd33b4 /remoting/host/audio_silence_detector.h
parent89572b9c9defce673e0ec094b14a0bc9bbe9b8db (diff)
downloadchromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.zip
chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.gz
chromium_src-c5960f3143870ec1fbb1dd7280238b324c49c694.tar.bz2
Switch to standard integer types in remoting/host/.
BUG=138542 TBR=wez@chromium.org Review URL: https://codereview.chromium.org/1547473005 Cr-Commit-Position: refs/heads/master@{#366676}
Diffstat (limited to 'remoting/host/audio_silence_detector.h')
-rw-r--r--remoting/host/audio_silence_detector.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/host/audio_silence_detector.h b/remoting/host/audio_silence_detector.h
index f02be31..95fd654 100644
--- a/remoting/host/audio_silence_detector.h
+++ b/remoting/host/audio_silence_detector.h
@@ -5,7 +5,9 @@
#ifndef REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_
#define REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_
-#include "base/basictypes.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/logging.h"
namespace remoting {
@@ -22,7 +24,7 @@ class AudioSilenceDetector {
// Must be called for each new chunk of data. Return true the given packet
// is silence should be dropped.
- bool IsSilence(const int16* samples, size_t samples_count);
+ bool IsSilence(const int16_t* samples, size_t samples_count);
private:
// Maximum absolute sample value that should still be considered as silence.