diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2014-11-05 15:47:34 -0600 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2014-11-05 15:47:34 -0600 |
commit | 322b5340517980bb269c5e84be4f7f8f08141cca (patch) | |
tree | 72e6319f5f2cf86341c41c8534aa6c86ede5b090 | |
parent | 24fa7c33bc6e336814aea4672c04686487506e1f (diff) | |
download | common-open-322b5340517980bb269c5e84be4f7f8f08141cca.tar.gz |
audio: add parameters to open stream functions
Add new parameters needed in lollipop for open stream functions
Change-Id: I6b721024289a14116b2cda8ed9024777e95ba655
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | audio/hw/audio_hw.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/hw/audio_hw.c b/audio/hw/audio_hw.c index af82821..35c3822 100644 --- a/audio/hw/audio_hw.c +++ b/audio/hw/audio_hw.c @@ -3295,7 +3295,8 @@ exit: static int adev_open_output_stream(struct audio_hw_device *dev, audio_io_handle_t handle, 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 omap_audio_device *adev = (struct omap_audio_device *)dev; struct omap_stream_out *out; @@ -3625,7 +3626,10 @@ 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, + const char *address __unused, + audio_source_t source __unused) { struct omap_audio_device *ladev = (struct omap_audio_device *)dev; struct omap_stream_in *in; |