Index: webrtc/modules/audio_device/android/audio_manager_unittest.cc |
diff --git a/webrtc/modules/audio_device/android/audio_manager_unittest.cc b/webrtc/modules/audio_device/android/audio_manager_unittest.cc |
index a5af8b068397c84ef7dd38fad2b50751ee4a6a10..dc9970adc03b38894c8fc55b22a27d99be8083df 100644 |
--- a/webrtc/modules/audio_device/android/audio_manager_unittest.cc |
+++ b/webrtc/modules/audio_device/android/audio_manager_unittest.cc |
@@ -9,6 +9,7 @@ |
*/ |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "webrtc/base/format_macros.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/modules/audio_device/android/build_info.h" |
#include "webrtc/modules/audio_device/android/audio_manager.h" |
@@ -71,7 +72,7 @@ TEST_F(AudioManagerTest, ShowAudioParameterInfo) { |
PRINT("%saudio layer: %s\n", kTag, |
low_latency_out ? "Low latency OpenSL" : "Java/JNI based AudioTrack"); |
PRINT("%ssample rate: %d Hz\n", kTag, playout_parameters_.sample_rate()); |
- PRINT("%schannels: %d\n", kTag, playout_parameters_.channels()); |
+ PRINT("%schannels: %" PRIuS "\n", kTag, playout_parameters_.channels()); |
PRINT("%sframes per buffer: %d <=> %.2f ms\n", kTag, |
playout_parameters_.frames_per_buffer(), |
playout_parameters_.GetBufferSizeInMilliseconds()); |