OSDN Git Service

Add power logging
authorAndy Hung <hunga@google.com>
Sat, 11 Mar 2017 01:07:23 +0000 (17:07 -0800)
committerAndy Hung <hunga@google.com>
Fri, 17 Mar 2017 22:08:30 +0000 (15:08 -0700)
commit13082f80dcee5f119cdb68a4dbc972cd2b939668
tree0d5f68385343bd8a9d224818fd6e57d66c8c3f2d
parentfc3d70736e4c24cbdc8c91076013c01e487fd4d5
Add power logging

PowerLog captures the audio data power (measured in dBFS) over time.

Test: power_tests
Bug: 30572472
Change-Id: If8977f9b8f9d2d15ea07bc32bed7f802513a742b
audio_utils/Android.bp
audio_utils/PowerLog.cpp [new file with mode: 0644]
audio_utils/include/audio_utils/PowerLog.h [new file with mode: 0644]
audio_utils/include/audio_utils/clock.h [new file with mode: 0644]
audio_utils/include/audio_utils/power.h [new file with mode: 0644]
audio_utils/power.cpp [new file with mode: 0644]
audio_utils/tests/Android.bp
audio_utils/tests/power_tests.cpp [new file with mode: 0644]