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

Unified Diff: webrtc/modules/audio_device/android/audio_device_unittest.cc

Issue 1235643003: Miscellaneous changes split from https://codereview.webrtc.org/1230503003 . (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 5 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_device/android/audio_device_unittest.cc
diff --git a/webrtc/modules/audio_device/android/audio_device_unittest.cc b/webrtc/modules/audio_device/android/audio_device_unittest.cc
index b21fd6e2004a74e841dd45930d034254ace295cf..0aef6f91618f94b54fa5cb51059f68b1a8921b66 100644
--- a/webrtc/modules/audio_device/android/audio_device_unittest.cc
+++ b/webrtc/modules/audio_device/android/audio_device_unittest.cc
@@ -350,7 +350,7 @@ class LatencyMeasuringAudioStream : public AudioStreamInterface {
}
int IndexToMilliseconds(double index) const {
- return 10.0 * (index / frames_per_buffer_) + 0.5;
+ return static_cast<int>(10.0 * (index / frames_per_buffer_) + 0.5);
}
private:

Powered by Google App Engine
This is Rietveld 408576698