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

Unified Diff: webrtc/modules/audio_processing/transient/transient_suppression_test.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 years, 3 months 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: webrtc/modules/audio_processing/transient/transient_suppression_test.cc
diff --git a/webrtc/modules/audio_processing/transient/transient_suppression_test.cc b/webrtc/modules/audio_processing/transient/transient_suppression_test.cc
index 506abaf2036843497cf2543745729ad714ceef35..5a74a1fbefdc838b4c4f67a03172f5f37300e609 100644
--- a/webrtc/modules/audio_processing/transient/transient_suppression_test.cc
+++ b/webrtc/modules/audio_processing/transient/transient_suppression_test.cc
@@ -71,7 +71,7 @@ const char kUsage[] =
"1 respectively.\n\n";
// Read next buffers from the test files (signed 16-bit host-endian PCM
-// format). audio_buffer has int16 samples, detection_buffer has float samples
+// format). audio_buffer has int16_t samples, detection_buffer has float samples
// with range [-32768,32767], and reference_buffer has float samples with range
// [-1,1]. Return true iff all the buffers were filled completely.
bool ReadBuffers(FILE* in_file,
@@ -181,7 +181,7 @@ void void_main() {
const size_t detection_buffer_size =
FLAGS_chunk_size_ms * detection_rate_hz / 1000;
- // int16 and float variants of the same data.
+ // int16_t and float variants of the same data.
rtc::scoped_ptr<int16_t[]> audio_buffer_i(
new int16_t[FLAGS_num_channels * audio_buffer_size]);
rtc::scoped_ptr<float[]> audio_buffer_f(

Powered by Google App Engine
This is Rietveld 408576698