summaryrefslogtreecommitdiffstats
path: root/include/hardware/audio_policy.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-05-22 14:02:38 -0700
committerEric Laurent <elaurent@google.com>2014-05-22 18:24:02 -0700
commit73b8a7414afa5ee3f006468f287695d9c2054d76 (patch)
tree1ba5331e22e42c029eb4000f3471a2f9457f3cdd /include/hardware/audio_policy.h
parent447cae749c7bb4906bc21c645df5eb7e6d664027 (diff)
downloadhardware_libhardware-73b8a7414afa5ee3f006468f287695d9c2054d76.zip
hardware_libhardware-73b8a7414afa5ee3f006468f287695d9c2054d76.tar.gz
hardware_libhardware-73b8a7414afa5ee3f006468f287695d9c2054d76.tar.bz2
audio: audio HAL extension for routing and volume control
Added audio HAL functions to control audio routing and audio gain. Audio HALs above version 3.0 must implement these functions. These functions will be used by the framework instead of out_set_parameters("routing"=XXX) for device selection on an output or input stream. They will also allow direct connection of input devices to output devices as well as gain control on devices or streams. The gain or routing capabilities are exposed in audio_polciy.conf file. Change-Id: Ic293fd41d492e38e86bdc35e3ad93aa5deb0b48f
Diffstat (limited to 'include/hardware/audio_policy.h')
-rw-r--r--include/hardware/audio_policy.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hardware/audio_policy.h b/include/hardware/audio_policy.h
index 0e88361..99cb044 100644
--- a/include/hardware/audio_policy.h
+++ b/include/hardware/audio_policy.h
@@ -248,9 +248,6 @@ struct audio_policy {
const audio_offload_info_t *info);
};
-/* audio hw module handle used by load_hw_module(), open_output_on_module()
- * and open_input_on_module() */
-typedef int audio_module_handle_t;
struct audio_policy_service_ops {
/*