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

Unified Diff: remoting/host/audio_silence_detector.cc

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_silence_detector.h ('k') | remoting/host/audio_silence_detector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/audio_silence_detector.cc
diff --git a/remoting/host/audio_silence_detector.cc b/remoting/host/audio_silence_detector.cc
index 17d625f878b6f6192867790ffc8121a75b5dc44b..a744b35a117f5772be80ff8435f1a5c9ac7388ff 100644
--- a/remoting/host/audio_silence_detector.cc
+++ b/remoting/host/audio_silence_detector.cc
@@ -34,7 +34,7 @@ void AudioSilenceDetector::Reset(int sampling_rate, int channels) {
sampling_rate * channels * kSilencePeriodThresholdSeconds;
}
-bool AudioSilenceDetector::IsSilence(const int16* samples,
+bool AudioSilenceDetector::IsSilence(const int16_t* samples,
size_t samples_count) {
bool silent_packet = true;
// Potentially this loop can be optimized (e.g. using SSE or adding special
« no previous file with comments | « remoting/host/audio_silence_detector.h ('k') | remoting/host/audio_silence_detector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698