hal: add lpi enable support for voice call
Add lpi enable support in tx device for voice call
Change-Id: I9574858870f4ddcb7fe43d2d1fff3ad43ba8d3db
diff --git a/hal/voice.h b/hal/voice.h
index 1f0978a..290ca3d 100644
--- a/hal/voice.h
+++ b/hal/voice.h
@@ -61,6 +61,7 @@
bool use_device_mute;
float volume;
bool in_call;
+ bool lte_call;
};
struct power_mode_cfg {
@@ -93,6 +94,7 @@
bool voice_is_in_call_or_call_screen(const struct audio_device *adev);
bool voice_is_in_call_rec_stream(const struct stream_in *in);
int voice_set_mic_mute(struct audio_device *dev, bool state);
+bool voice_is_lte_call_active(struct audio_device *adev);
bool voice_get_mic_mute(struct audio_device *dev);
int voice_set_volume(struct audio_device *adev, float volume);
int voice_check_and_set_incall_rec_usecase(struct audio_device *adev,