commit | 2c184227f316fb3b2f2522b3650b2df616b43309 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Fri Oct 04 15:23:47 2019 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Mon Jun 15 08:19:32 2020 -0700 |
tree | 71ee611ec9012fcd702b6ac50e23d6027abd85fa | |
parent | 8dc3869389a49cc6b36e1c1395ccd445238f31de [diff] |
audio_utils: add Histogram Add Histogram class that counts events. It also keeps track of the index of the last event in a bin. Return zero for out of range indices. Test: Used by AAudio IsochronousClockModel Test: libaaudio/tests/test_histogram.cpp Change-Id: Idf8fa9d9f152218c2f9732cd4b021cafb08f3a2f