diff options
-rw-r--r-- | include/hardware/audio.h | 3 | ||||
-rw-r--r-- | modules/audio/audio_hw.c | 3 | ||||
-rw-r--r-- | modules/audio_remote_submix/audio_hw.cpp | 3 | ||||
-rw-r--r-- | modules/usbaudio/audio_hw.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h index 7ff5b78..95111dd 100644 --- a/include/hardware/audio.h +++ b/include/hardware/audio.h @@ -579,7 +579,8 @@ struct audio_hw_device { 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); void (*close_input_stream)(struct audio_hw_device *dev, struct audio_stream_in *stream_in); diff --git a/modules/audio/audio_hw.c b/modules/audio/audio_hw.c index 2f44d95..ef070c1 100644 --- a/modules/audio/audio_hw.c +++ b/modules/audio/audio_hw.c @@ -327,7 +327,8 @@ 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) { struct stub_audio_device *ladev = (struct stub_audio_device *)dev; struct stub_stream_in *in; diff --git a/modules/audio_remote_submix/audio_hw.cpp b/modules/audio_remote_submix/audio_hw.cpp index c7e4305..9e824b1 100644 --- a/modules/audio_remote_submix/audio_hw.cpp +++ b/modules/audio_remote_submix/audio_hw.cpp @@ -1373,7 +1373,8 @@ 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) { struct submix_audio_device *rsxadev = audio_hw_device_get_submix_audio_device(dev); struct submix_stream_in *in; diff --git a/modules/usbaudio/audio_hw.c b/modules/usbaudio/audio_hw.c index 4af01af..8fbd528 100644 --- a/modules/usbaudio/audio_hw.c +++ b/modules/usbaudio/audio_hw.c @@ -1659,7 +1659,8 @@ 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) { ALOGV("usb: in adev_open_input_stream() rate:%" PRIu32 ", chanMask:0x%" PRIX32 ", fmt:%" PRIu8, config->sample_rate, config->channel_mask, config->format); |