diff options
author | Ziyan <jaraidaniel@gmail.com> | 2015-08-22 12:26:32 +0200 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2015-08-29 01:54:07 -0700 |
commit | bc343b41338403794b0fff784ec29f3bed1c9c6e (patch) | |
tree | 51c06b7fbc7b15c416a7345115015942a151ddfa /audio | |
parent | df3ee844c7d3ee2930cd29184e1c26caea82fda2 (diff) | |
download | device_samsung_espressowifi-bc343b41338403794b0fff784ec29f3bed1c9c6e.zip device_samsung_espressowifi-bc343b41338403794b0fff784ec29f3bed1c9c6e.tar.gz device_samsung_espressowifi-bc343b41338403794b0fff784ec29f3bed1c9c6e.tar.bz2 |
espresso-common: audio: add parameters to open stream functions
Bug: 14815883.
Change-Id: Ie1aa70efa9e3a657379b56f9d3cb5ab56be13b46
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio_hw.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 2f9b6b2..240e2f6 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -2445,7 +2445,8 @@ static int adev_open_output_stream(struct audio_hw_device *dev, audio_devices_t devices __unused, audio_output_flags_t flags __unused, struct audio_config *config, - struct audio_stream_out **stream_out) + struct audio_stream_out **stream_out, + const char *address __unused) { struct espresso_audio_device *ladev = (struct espresso_audio_device *)dev; struct espresso_stream_out *out; @@ -2689,7 +2690,10 @@ static int adev_open_input_stream(struct audio_hw_device *dev, audio_io_handle_t handle __unused, 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, + const char *address __unused, + audio_source_t source __unused) { struct espresso_audio_device *ladev = (struct espresso_audio_device *)dev; struct espresso_stream_in *in; |