Support query microphones information.
Add query list of all/currently active microphones in hal layer.
Bug: 64038649
Bug: 75041465
Test: Manual Testing and Cts test
Change-Id: Id82300e83d2314f1102f2e5b5481df26d76002c8
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index aebd667..3e31639 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -201,7 +201,6 @@
MAX_CODEC_BACKENDS
};
-
#define DEVICE_NAME_MAX_SIZE 128
#define HW_INFO_ARRAY_MAX_SIZE 32
@@ -336,6 +335,8 @@
#define PLATFORM_CONFIG_KEY_MAX_MIC_COUNT "input_mic_max_count"
#define PLATFORM_DEFAULT_MIC_COUNT 2
+#define AUDIO_MAKE_STRING_FROM_ENUM(X) { #X, X }
+
/* CSD-CLIENT related functions */
typedef int (*init_t)(bool);
typedef int (*deinit_t)();