
This inline function is no longer expanded on arm Android, but on x86 Android it will still be expanded. Move it out-of-line to make things consistent. This change list will also fix a potential bug on webrtc for Android: Since the inline function won't be expanded on arm Android, TickTime::MillisecondTimestamp and Clock::GetRealTimeClock()->TimeInMilliseconds will be treated as function call, due to macro WEBRTC_CLOCK_TYPE_REALTIME's guard defined in system_wrappers module they will get current time using CLOCK_REALTIME. But on x86 Android, the inline function will be expanded to where it's been called, if the call happens in other compilation units which don't have WEBRTC_CLOCK_TYPE_REALTIME definition, it will get current time using CLOCK_MONOTONIC, while Clock::GetRealTimeClock()->TimeInMilliseconds will always use CLOCK_REALTIME, then there will be two types of time in x86 Android which will cause some weird issues like all received remote streams will be dropped due to future render timestamp. BUG=None TEST=WebRTCViEDemo application works well on both arm and x86 Android R=fischman@webrtc.org, niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1688004 Patch from Jeremy Mao <yujie.mao@intel.com>. git-svn-id: http://webrtc.googlecode.com/svn/trunk@4274 4adac7df-926f-26a2-2b94-8c16560cd09d
Description
No description provided
Languages
C++
76%
C
16%
Python
2.3%
Java
2.1%
Objective-C++
1.5%
Other
1.9%