andrew ec80f03b3c 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}
2016-01-08 09:16:25 +00:00
..
2016-01-04 21:44:16 +00:00
2016-01-04 21:44:16 +00:00
2016-01-04 21:44:16 +00:00
2016-01-05 21:51:07 +00:00
2016-01-04 21:44:16 +00:00
2015-11-16 19:02:02 +00:00
2015-09-08 12:36:23 +00:00
2015-12-18 12:28:49 +00:00

Name: WebRTC
URL: http://www.webrtc.org
Version: 90
License: BSD
License File: LICENSE

Description:
WebRTC provides real time voice and video processing
functionality to enable the implementation of 
PeerConnection/MediaStream.

Third party code used in this project is described 
in the file LICENSE_THIRD_PARTY.