summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2014-11-05 15:47:34 -0600
committerVishal Mahaveer2014-11-05 15:47:34 -0600
commit322b5340517980bb269c5e84be4f7f8f08141cca (patch)
tree72e6319f5f2cf86341c41c8534aa6c86ede5b090
parent24fa7c33bc6e336814aea4672c04686487506e1f (diff)
downloaddevice-ti-common-open-322b5340517980bb269c5e84be4f7f8f08141cca.tar.gz
device-ti-common-open-322b5340517980bb269c5e84be4f7f8f08141cca.tar.xz
device-ti-common-open-322b5340517980bb269c5e84be4f7f8f08141cca.zip
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.c8
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:
3295static int adev_open_output_stream(struct audio_hw_device *dev, 3295static int adev_open_output_stream(struct audio_hw_device *dev,
3296 audio_io_handle_t handle, audio_devices_t devices, 3296 audio_io_handle_t handle, audio_devices_t devices,
3297 audio_output_flags_t flags, struct audio_config *config, 3297 audio_output_flags_t flags, struct audio_config *config,
3298 struct audio_stream_out **stream_out) 3298 struct audio_stream_out **stream_out,
3299 const char *address __unused)
3299{ 3300{
3300 struct omap_audio_device *adev = (struct omap_audio_device *)dev; 3301 struct omap_audio_device *adev = (struct omap_audio_device *)dev;
3301 struct omap_stream_out *out; 3302 struct omap_stream_out *out;
@@ -3625,7 +3626,10 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
3625 audio_io_handle_t handle, 3626 audio_io_handle_t handle,
3626 audio_devices_t devices, 3627 audio_devices_t devices,
3627 struct audio_config *config, 3628 struct audio_config *config,
3628 struct audio_stream_in **stream_in) 3629 struct audio_stream_in **stream_in,
3630 audio_input_flags_t flags __unused,
3631 const char *address __unused,
3632 audio_source_t source __unused)
3629{ 3633{
3630 struct omap_audio_device *ladev = (struct omap_audio_device *)dev; 3634 struct omap_audio_device *ladev = (struct omap_audio_device *)dev;
3631 struct omap_stream_in *in; 3635 struct omap_stream_in *in;