OSDN Git Service

DO NOT MERGE - audio: audio HAL extension for routing and volume control
authorEric Laurent <elaurent@google.com>
Thu, 22 May 2014 21:02:38 +0000 (14:02 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 28 May 2014 21:03:59 +0000 (14:03 -0700)
commit060a115f44bb458a73e6540bcd890b5ab44bd7bc
tree4e8c452c236e67f098ddd9d512aabeaada343686
parenta906a33d3045019cbc1502c3e53686b06d6302d9
DO NOT MERGE - 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
include/hardware/audio.h
include/hardware/audio_policy.h