History log of /frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a2951c5943172b122cfbfd4098b4f6738eab207d 26-May-2018 Phil Burk <philburk@google.com> aaudio: loopback test improved

Check to make sure input capacity is large enough.
Add -B option to set input capacity.
Handles variable callback size better when setting up the
loop for Legacy mode.
Narrower impulse.

Bug: 80230720
Test: this is a test
Change-Id: I9349cf8248b65850073bfb8178bbb802a93fd684
/frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h
74ce5e8273a1c3f6ea14ab087f66f7d32ad106d7 27-Apr-2018 Phil Burk <philburk@google.com> aaudio: fix loopback test, track magnitude drift

Loopback test was still reporting some glitches.
These were false alarms due to:
* starting input before output causing an overflow
* not waiting for the input to reach equilibrium with the output
* detecting slow drift in magnitude as a glitch

I changed the logic for setting up a test
and track slow changes in magnitude.
Now the rare glitch seems to be a real glitch.

Bug: 78139448
Test: this is a test
Change-Id: Id16d7dc59c0f2e040fe1dfb0337e9ed987d4fd02
/frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h
ac9d979583c4a10c2ebcf9649d773edf7acce723 12-Apr-2018 Phil Burk <philburk@google.com> aaudio example: fix loopback test

Support both I16 and FLOAT format.
Silence output at beginning when skipping buffers. Was sometimes spewing noise.
Print more information when it fails so we can debug the failure.
Fix getting framesPerBurst from wrong stream.
Track when read gets too few frames.

Bug: 38268031
Bug: 78139448
Test: this is a test
Change-Id: If562856ab2eac607a8bb15da1cc587ae631f7a1d
/frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h
4e98efa3b18ba1d72d28358da86f9beb5596588d 06-Feb-2018 Phil Burk <philburk@google.com> aaudio_loopback: general cleanup, use dlsym

Cleanup printing.
Use dlsym so this can run on O.

Test: aaudio_loopback -tl -pl -n2
Change-Id: I77b931e59cced32b0cc23076f9b156d082e6bf0b
/frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h
4a764a3b450095cef05b6025a72c3876c95b6a14 02-Jan-2018 Phil Burk <philburk@google.com> aaudio_loopback: use WAV files, reject low gain

Save recording in a WAV file instead of a RAW file.
Add a test mode that reads a WAV file, for debugging auto-correlation.
Cleanup printed reports.
Discard more input buffers at beginning.

Test: this is a test
Change-Id: Ib5ea63882eda325b02716a448897007a945f7312
/frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h
68326fe017a18957419a81489b67f75831f9a674 31-Oct-2017 Chih-Hung Hsieh <chh@google.com> Use -Werror in frameworks/av/media/libaaudio

* Remove unused local variables, labels, functions, private fields.
* Fix warning of unused return result.
* Use template functions in .h file to avoid warning of unused static functions.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I54962a7fd36a405e54366130b9c0a24e26fe8ebb
/frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h
fcf9efd59e36759ee7df66fdfce4f8eedeb376e4 14-Jul-2017 Phil Burk <philburk@google.com> aaudio: add glitch detection to loopback, improve latency check

Also improve automatic loop gain control for latency testing.
Use ArgParser to parse command line options.

Bug: 38178592
Test: this is a test
Change-Id: Idfe8f25544a3e7c74ee15be008bf34e3a0741455
/frameworks/av/media/libaaudio/examples/loopback/src/LoopbackAnalyzer.h