aaudio: test interference between streams

Create an MMAP stream at 48000 Hz.
Then try to create a second MMAP stream at 44100 Hz,
which will open on the Legacy path.
The bug will cause the first stream to be killed.

Bug: 73369112
Test: this is a test
Change-Id: Ibc7ef78b6bfd67114d6d2f47519e2a9113e75855
diff --git a/media/libaaudio/tests/Android.bp b/media/libaaudio/tests/Android.bp
index 45d417f..beec9e2 100644
--- a/media/libaaudio/tests/Android.bp
+++ b/media/libaaudio/tests/Android.bp
@@ -148,3 +148,15 @@
         "libutils",
     ],
 }
+
+cc_test {
+    name: "test_interference",
+    defaults: ["libaaudio_tests_defaults"],
+    srcs: ["test_interference.cpp"],
+    shared_libs: [
+        "libaaudio",
+        "libbinder",
+        "libcutils",
+        "libutils",
+    ],
+}