summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidipotu Ashok <sashok@codeaurora.org>2015-09-08 10:21:44 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2015-10-05 21:20:53 -0700
commitea7e4c95687c1ea1fcb425b03047f3b6e8c0d272 (patch)
treea2fb8ea61a430e5f582b2c66f0d2a187da59552e
parent26a69acf0b3aa68c280621dfb20eb82dfc5e5b24 (diff)
downloadhardware_qcom_audio-ea7e4c95687c1ea1fcb425b03047f3b6e8c0d272.tar.gz
hardware_qcom_audio-ea7e4c95687c1ea1fcb425b03047f3b6e8c0d272.tar.bz2
hardware_qcom_audio-ea7e4c95687c1ea1fcb425b03047f3b6e8c0d272.zip
hal: add a new key to query for decoder viability.
- Due to resource constraints some times a decoder playback cannot be supported, for example HW decoders cannot be supported during voice calls, this key can be queried to know about this. - Bring in the this funtionality in HAL under the android prop "voice.playback.conc.disabled" Change-Id: Id6819b1b953c8ba9948c85218d98beb789f92631 CRs-Fixed: 902360
-rw-r--r--hal/audio_extn/audio_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hal/audio_extn/audio_defs.h b/hal/audio_extn/audio_defs.h
index 335a6295..8144fa89 100644
--- a/hal/audio_extn/audio_defs.h
+++ b/hal/audio_extn/audio_defs.h
@@ -75,4 +75,6 @@
/* Query if Proxy can be Opend */
#define AUDIO_PARAMETER_KEY_CAN_OPEN_PROXY "can_open_proxy"
+#define AUDIO_PARAMETER_IS_HW_DECODER_SESSION_ALLOWED "is_hw_dec_session_allowed"
+
#endif /* AUDIO_DEFS_H */