summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/audio_policy_conf.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2013-11-14 16:30:20 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2013-11-14 16:36:43 -0800
commit18fc094c0ed41851be3d746423c6695dd28d48e1 (patch)
treec4d26a7c8b606dc2de3bd14766d52742da4707c5 /include/hardware_legacy/audio_policy_conf.h
parent758289be1f05457db5dd4d29020cabd81efe66bb (diff)
downloadhardware_libhardware_legacy-18fc094c0ed41851be3d746423c6695dd28d48e1.zip
hardware_libhardware_legacy-18fc094c0ed41851be3d746423c6695dd28d48e1.tar.gz
hardware_libhardware_legacy-18fc094c0ed41851be3d746423c6695dd28d48e1.tar.bz2
Define and use DRC-specific volume curves when applicable
Add support for property defining whether a DRC on the speaker path is enabled and will boost soft sounds. Define new volume curves with more attenuations than existing ones to compensate for DRC-induced boost on sonification sounds to provide a more "linear" control to the user over the applied volume. Bug 11600699 Change-Id: If23dd097a8b9b5ebb61e75dd8512ff75e63ba899
Diffstat (limited to 'include/hardware_legacy/audio_policy_conf.h')
-rw-r--r--include/hardware_legacy/audio_policy_conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware_legacy/audio_policy_conf.h b/include/hardware_legacy/audio_policy_conf.h
index fa58c36..3ec2c94 100644
--- a/include/hardware_legacy/audio_policy_conf.h
+++ b/include/hardware_legacy/audio_policy_conf.h
@@ -34,6 +34,7 @@
#define ATTACHED_OUTPUT_DEVICES_TAG "attached_output_devices"
#define DEFAULT_OUTPUT_DEVICE_TAG "default_output_device"
#define ATTACHED_INPUT_DEVICES_TAG "attached_input_devices"
+#define SPEAKER_DRC_ENABLED_TAG "speaker_drc_enabled"
// hw modules descriptions
#define AUDIO_HW_MODULE_TAG "audio_hw_modules"