aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_device/include/fake_audio_device.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org>2014-12-15 22:09:40 +0000
committerpkasting@chromium.org <pkasting@chromium.org>2014-12-15 22:09:40 +0000
commit0b1534c52eab79372557a6d81aaf4dd9407f55d3 (patch)
treee0ed473afcd1e2f651285d58c6914e2f0c032853 /webrtc/modules/audio_device/include/fake_audio_device.h
parent96a626262af5ec8ec349c9a532028b3007092c95 (diff)
downloadwebrtc-0b1534c52eab79372557a6d81aaf4dd9407f55d3.tar.gz
Use int64_t for milliseconds more often, primarily for TimeUntilNextProcess.
This fixes a variety of MSVC warnings about value truncations when implicitly storing the 64-bit values we get back from e.g. TimeTicks in 32-bit objects, and removes the need for a number of explicit casts. This also moves a number of constants so they're declared right where they're used, which is easier to read and maintain, and makes some of them of integral type rather than using the "enum hack". BUG=chromium:81439 TEST=none R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/33649004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7905 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_device/include/fake_audio_device.h')
-rw-r--r--webrtc/modules/audio_device/include/fake_audio_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/modules/audio_device/include/fake_audio_device.h b/webrtc/modules/audio_device/include/fake_audio_device.h
index a627aec915..8b7e87c619 100644
--- a/webrtc/modules/audio_device/include/fake_audio_device.h
+++ b/webrtc/modules/audio_device/include/fake_audio_device.h
@@ -36,7 +36,7 @@ class FakeAudioDeviceModule : public AudioDeviceModule {
virtual int32_t SetStereoRecording(bool enable) { return 0; }
virtual int32_t SetAGC(bool enable) { return 0; }
virtual int32_t StopRecording() { return 0; }
- virtual int32_t TimeUntilNextProcess() { return 0; }
+ virtual int64_t TimeUntilNextProcess() { return 0; }
virtual int32_t Process() { return 0; }
virtual int32_t Terminate() { return 0; }