diff options
author | Vishal Mahaveer | 2014-11-12 17:55:04 -0600 |
---|---|---|
committer | Vishal Mahaveer | 2014-11-12 17:55:04 -0600 |
commit | d109492eb4f017669a2d50e1bebc7ad49b46453d (patch) | |
tree | 509052d34cd302a72fd977a0aa555f2ba5a113f9 | |
parent | 322b5340517980bb269c5e84be4f7f8f08141cca (diff) | |
download | device-ti-common-open-d109492eb4f017669a2d50e1bebc7ad49b46453d.tar.gz device-ti-common-open-d109492eb4f017669a2d50e1bebc7ad49b46453d.tar.xz device-ti-common-open-d109492eb4f017669a2d50e1bebc7ad49b46453d.zip |
hdmi_audio: add parameters to open stream functions
Add new parameters needed in lollipop for open stream functions
Change-Id: I5cab12855d6b98b91193a4c2182b93b225f403e6
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | audio/hw/hdmi_audio_hw.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/hw/hdmi_audio_hw.c b/audio/hw/hdmi_audio_hw.c index 37c3441..2de9c05 100644 --- a/audio/hw/hdmi_audio_hw.c +++ b/audio/hw/hdmi_audio_hw.c | |||
@@ -571,7 +571,8 @@ static int hdmi_adev_open_output_stream(audio_hw_device_t *dev, | |||
571 | audio_devices_t devices, | 571 | audio_devices_t devices, |
572 | audio_output_flags_t flags, | 572 | audio_output_flags_t flags, |
573 | struct audio_config *config, | 573 | struct audio_config *config, |
574 | struct audio_stream_out **stream_out) | 574 | struct audio_stream_out **stream_out, |
575 | const char *address __unused) | ||
575 | { | 576 | { |
576 | hdmi_out_t *out = 0; | 577 | hdmi_out_t *out = 0; |
577 | struct pcm_config *pcm_config = 0; | 578 | struct pcm_config *pcm_config = 0; |
@@ -682,7 +683,10 @@ static int hdmi_adev_open_input_stream(audio_hw_device_t *dev, | |||
682 | audio_io_handle_t handle, | 683 | audio_io_handle_t handle, |
683 | audio_devices_t devices, | 684 | audio_devices_t devices, |
684 | struct audio_config *config, | 685 | struct audio_config *config, |
685 | struct audio_stream_in **stream_in) | 686 | struct audio_stream_in **stream_in, |
687 | audio_input_flags_t flags __unused, | ||
688 | const char *address __unused, | ||
689 | audio_source_t source __unused) | ||
686 | { | 690 | { |
687 | TRACE(); | 691 | TRACE(); |
688 | return -ENOSYS; | 692 | return -ENOSYS; |