summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPreetam Singh Ranawat <apranawat@codeaurora.org>2014-11-18 12:24:22 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:30:39 -0600
commit8fc35f19d6b3a1c58b87a8549806af13ace99b90 (patch)
tree480d5a361db6707f17c9e1a54fa5a553f0c6b565
parent2bf78394d6abd2bec7ba1c1815d1ab9f48ee76d9 (diff)
downloadhardware_libhardware-8fc35f19d6b3a1c58b87a8549806af13ace99b90.zip
hardware_libhardware-8fc35f19d6b3a1c58b87a8549806af13ace99b90.tar.gz
hardware_libhardware-8fc35f19d6b3a1c58b87a8549806af13ace99b90.tar.bz2
audio: add parameter for device shutdown notification
- Add new define to receive device shutdown notification Change-Id: I387b40af5119fa43d2e36e3ee19cbca526e49c2a
-rw-r--r--include/hardware/audio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h
index 2389c09..ca7b18b 100644
--- a/include/hardware/audio.h
+++ b/include/hardware/audio.h
@@ -117,6 +117,9 @@ __BEGIN_DECLS
* or no HW sync is available. */
#define AUDIO_PARAMETER_HW_AV_SYNC "hw_av_sync"
+/* Device state*/
+#define AUDIO_PARAMETER_KEY_DEV_SHUTDOWN "dev_shutdown"
+
/**
* audio stream parameters
*/