hal: Add support for dynamic qos voting
Add support for adding/removing qos vote
dynamically. Framework will call the
setparams based on whether audio has
finished rendering or not. Support
this feature only for low latency track
based on a property.
CRs-Fixed: 2089196
Change-Id: Ia1f7ae584ab717742e4643fab50f6d404dfce66e
diff --git a/hal/audio_hw.h b/hal/audio_hw.h
index 561a967..71de46a 100644
--- a/hal/audio_hw.h
+++ b/hal/audio_hw.h
@@ -91,6 +91,8 @@
#define MAX_STREAM_PROFILE_STR_LEN 32
+#define MAX_MIXER_PATH_LEN 64
+
typedef enum card_status_t {
CARD_STATUS_OFFLINE,
CARD_STATUS_ONLINE
@@ -305,6 +307,9 @@
bool a2dp_compress_mute;
float volume_l;
float volume_r;
+
+ char pm_qos_mixer_path[MAX_MIXER_PATH_LEN];
+ int dynamic_pm_qos_enabled;
};
struct stream_in {