diff options
author | Vishal Mahaveer | 2014-11-05 15:33:52 -0600 |
---|---|---|
committer | Vishal Mahaveer | 2014-11-05 15:33:52 -0600 |
commit | 2bec9552325f7e1a0ab435fc264f600161f93aea (patch) | |
tree | 4754a30246a1651206d5dbf5019a8d73ae978aaa /audio/legacy/audio_hw.c | |
parent | ffc9fcbadd694cb4b0d6796464bd8f2fb349d20b (diff) | |
download | device-ti-jacinto6evm-2bec9552325f7e1a0ab435fc264f600161f93aea.tar.gz device-ti-jacinto6evm-2bec9552325f7e1a0ab435fc264f600161f93aea.tar.xz device-ti-jacinto6evm-2bec9552325f7e1a0ab435fc264f600161f93aea.zip |
audio: Legacy: add parameters to open stream functions
Add new parameters needed in lollipop for open stream functions
Change-Id: I69073c1fa908ef37d9097ed50fedc72cdd409a6d
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'audio/legacy/audio_hw.c')
-rw-r--r-- | audio/legacy/audio_hw.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/legacy/audio_hw.c b/audio/legacy/audio_hw.c index 84e5b30..772f17b 100644 --- a/audio/legacy/audio_hw.c +++ b/audio/legacy/audio_hw.c | |||
@@ -1265,7 +1265,8 @@ static int adev_open_output_stream(struct audio_hw_device *dev, | |||
1265 | audio_devices_t devices, | 1265 | audio_devices_t devices, |
1266 | audio_output_flags_t flags, | 1266 | audio_output_flags_t flags, |
1267 | struct audio_config *config, | 1267 | struct audio_config *config, |
1268 | struct audio_stream_out **stream_out) | 1268 | struct audio_stream_out **stream_out, |
1269 | const char *address __unused) | ||
1269 | { | 1270 | { |
1270 | struct j6_audio_device *adev = (struct j6_audio_device *)dev; | 1271 | struct j6_audio_device *adev = (struct j6_audio_device *)dev; |
1271 | struct j6_stream_out *out; | 1272 | struct j6_stream_out *out; |
@@ -1442,7 +1443,10 @@ static int adev_open_input_stream(struct audio_hw_device *dev, | |||
1442 | audio_io_handle_t handle, | 1443 | audio_io_handle_t handle, |
1443 | audio_devices_t devices, | 1444 | audio_devices_t devices, |
1444 | struct audio_config *config, | 1445 | struct audio_config *config, |
1445 | struct audio_stream_in **stream_in) | 1446 | struct audio_stream_in **stream_in, |
1447 | audio_input_flags_t flags __unused, | ||
1448 | const char *address __unused, | ||
1449 | audio_source_t source __unused) | ||
1446 | { | 1450 | { |
1447 | struct j6_audio_device *adev = (struct j6_audio_device *)dev; | 1451 | struct j6_audio_device *adev = (struct j6_audio_device *)dev; |
1448 | struct j6_stream_in *in; | 1452 | struct j6_stream_in *in; |