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

Unified Diff: media/base/audio_bus.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/base/audio_bus.h
diff --git a/media/base/audio_bus.h b/media/base/audio_bus.h
index cf598c2a5c939d5d7369b25e0abe73aefd48d22f..25e34e360f07b8873c2ef2cf28b2e3f975c6b637 100644
--- a/media/base/audio_bus.h
+++ b/media/base/audio_bus.h
@@ -58,7 +58,8 @@ class MEDIA_EXPORT AudioBus {
// data. Expects interleaving to be [ch0, ch1, ..., chN, ch0, ch1, ...] with
// |bytes_per_sample| per value. Values are scaled and bias corrected during
// conversion. ToInterleaved() will also clip values to format range.
- // Handles uint8, int16, and int32 currently. FromInterleaved() will zero out
+ // Handles uint8_t, int16_t, and int32_t currently. FromInterleaved() will
+ // zero out
// any unfilled frames when |frames| is less than frames().
void FromInterleaved(const void* source, int frames, int bytes_per_sample);
void ToInterleaved(int frames, int bytes_per_sample, void* dest) const;

Powered by Google App Engine
This is Rietveld 408576698