diff options
author | Eric Laurent <elaurent@google.com> | 2014-07-28 21:09:20 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-07-28 21:09:20 +0000 |
commit | b5c37e674832873dddf63496eb67d7d77137d795 (patch) | |
tree | 87e8489070e9d33ac1136df8450e73c3395cef29 | |
parent | 5ed59353281dfc0e5bfd1f896abe73f932bf9bf3 (diff) | |
parent | a311a983eb4035b272033105119cb44d814fb2db (diff) | |
download | platform_hardware_libhardware_legacy-b5c37e674832873dddf63496eb67d7d77137d795.tar.gz platform_hardware_libhardware_legacy-b5c37e674832873dddf63496eb67d7d77137d795.tar.bz2 platform_hardware_libhardware_legacy-b5c37e674832873dddf63496eb67d7d77137d795.zip |
am a311a983: audio HAL: add parameters to open stream functions
* commit 'a311a983eb4035b272033105119cb44d814fb2db':
audio HAL: add parameters to open stream functions
-rw-r--r-- | audio/audio_hw_hal.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/audio_hw_hal.cpp b/audio/audio_hw_hal.cpp index cefc33b..7949a90 100644 --- a/audio/audio_hw_hal.cpp +++ b/audio/audio_hw_hal.cpp @@ -488,7 +488,8 @@ static int adev_open_output_stream(struct audio_hw_device *dev, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, - struct audio_stream_out **stream_out) + struct audio_stream_out **stream_out, + const char *address __unused) { struct legacy_audio_device *ladev = to_ladev(dev); status_t status; @@ -553,7 +554,9 @@ static int adev_open_input_stream(struct audio_hw_device *dev, audio_devices_t devices, struct audio_config *config, struct audio_stream_in **stream_in, - audio_input_flags_t flags __unused) + audio_input_flags_t flags __unused, + const char *address __unused, + audio_source_t source __unused) { struct legacy_audio_device *ladev = to_ladev(dev); status_t status; |