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

Unified Diff: remoting/host/audio_silence_detector.h

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « remoting/host/audio_pump_unittest.cc ('k') | remoting/host/audio_silence_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_silence_detector.h
diff --git a/remoting/host/audio_silence_detector.h b/remoting/host/audio_silence_detector.h
index f02be315e32da25102cfe8c4e85a81f6caa74b94..95fd6546bac5a71fe93f0a1dad483ce6ba088e1f 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.
« no previous file with comments | « remoting/host/audio_pump_unittest.cc ('k') | remoting/host/audio_silence_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698