summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-07-17 07:28:11 -0700
committerGlenn Kasten <gkasten@google.com>2014-07-17 07:29:12 -0700
commit044bac40a166a8e7719e7735bf91e9522db752d3 (patch)
tree54871fbb3d5b24a6e5f4746f596ec122f61f13b8
parent9c69eebbae14755a44b2afb6d05587a9e549d2c1 (diff)
downloadhardware_libhardware_legacy-044bac40a166a8e7719e7735bf91e9522db752d3.zip
hardware_libhardware_legacy-044bac40a166a8e7719e7735bf91e9522db752d3.tar.gz
hardware_libhardware_legacy-044bac40a166a8e7719e7735bf91e9522db752d3.tar.bz2
Add audio_input_flags_t to HAL open_input_stream
Change-Id: I17db01e92bfa939c7a15e7f9f95197d0a0568033
-rw-r--r--audio/audio_hw_hal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/audio_hw_hal.cpp b/audio/audio_hw_hal.cpp
index 23ebdae..cefc33b 100644
--- a/audio/audio_hw_hal.cpp
+++ b/audio/audio_hw_hal.cpp
@@ -552,7 +552,8 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
audio_io_handle_t handle,
audio_devices_t devices,
struct audio_config *config,
- struct audio_stream_in **stream_in)
+ struct audio_stream_in **stream_in,
+ audio_input_flags_t flags __unused)
{
struct legacy_audio_device *ladev = to_ladev(dev);
status_t status;