aaudio loopback: improve latency tester

Add command line options.
Add magnitude measurement.
Add automated latency analyzer that uses round trip echo and an impulse correlation.
Uses Harmonic Product Spectrum technique but in the time domain.

Bug: 33398120
Bug: 38178592
Test: this is a test
Change-Id: Ied6c09e6d8d373a188c13ed85b27de6c4b7be2f4
Signed-off-by: Phil Burk <philburk@google.com>
diff --git a/media/libaaudio/examples/utils/dummy.cpp b/media/libaaudio/examples/utils/dummy.cpp
new file mode 100644
index 0000000..8ef7e36
--- /dev/null
+++ b/media/libaaudio/examples/utils/dummy.cpp
@@ -0,0 +1,5 @@
+/**
+ * Dummy file needed to get Android Studio to scan this folder.
+ */
+
+int g_DoNotUseThisVariable = 0;