commit | fde21162889a2f053bed72a962cbefbff9bf7369 | [log] [tgz] |
---|---|---|
author | brucedawson <brucedawson@chromium.org> | Tue Jun 20 17:57:09 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 20 17:57:09 2017 |
tree | 466546846281e120b96a4941c9a456234965ace0 | |
parent | 26b16f7d52a486ed9daa64e9ce2a67f51c63307b [diff] |
Use constexpr to avoid a static initializer Floating-point calculations are not guaranteed to happen at compile time unless you force the issue with constexpr. This initializer was found by running tools\win\static_initializers on a canary build chrome_child.dll. constexpr was added to kSilenceRms for consistency. BUG=chromium:341941 Review-Url: https://codereview.webrtc.org/2943833002 Cr-Commit-Position: refs/heads/master@{#18684}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.