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

Unified Diff: media/cast/test/utility/audio_utility.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
Index: media/cast/test/utility/audio_utility.h
diff --git a/media/cast/test/utility/audio_utility.h b/media/cast/test/utility/audio_utility.h
index 36ef858da104b89e525bc5a0d780586762381282..f2362e652d222d119bec48f9808b49ab32784763 100644
--- a/media/cast/test/utility/audio_utility.h
+++ b/media/cast/test/utility/audio_utility.h
@@ -67,14 +67,14 @@ int CountZeroCrossings(const float* samples, int length);
// contain how many samples has been encoded so far, so that we can make smooth
// transitions between encoded chunks.
// See audio_utility.cc for details on how the encoding is done.
-bool EncodeTimestamp(uint16 timestamp,
+bool EncodeTimestamp(uint16_t timestamp,
size_t sample_offset,
size_t length,
float* samples);
// Decode a timestamp encoded with EncodeTimestamp. Returns true if a
// timestamp was found in |samples|.
-bool DecodeTimestamp(const float* samples, size_t length, uint16* timestamp);
+bool DecodeTimestamp(const float* samples, size_t length, uint16_t* timestamp);
} // namespace cast
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698