commit | ec80f03b3cd919614d82ba70837de87718e1c4a7 | [log] [tgz] |
---|---|---|
author | andrew <andrew@webrtc.org> | Fri Jan 08 09:16:17 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Jan 08 09:16:25 2016 |
tree | 08a156e3bcc446f89420853e9c8a7aeffb4643c1 | |
parent | fbeb97e01f02a528cce02f076942a779195270a5 [diff] |
Check the mic volume only periodically on Mac. Ask the OS for the mic volume every 1 second rather than with every 10 ms chunk. The previous behavior was consuming ~2% of the CPU load of a voice engine call, and is now negligible. This is consistent with the webrtc Windows Core Audio implementation, as well as the Chromium Mac implementation: https://code.google.com/p/chromium/codesearch#chromium/src/media/audio/agc_audio_stream.h TEST=voe_cmd_test with AGC continues to work well on Mac. Review URL: https://codereview.webrtc.org/1564223002 Cr-Commit-Position: refs/heads/master@{#11182}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.