Loading hal/audio_hw.c +18 −0 Original line number Diff line number Diff line Loading @@ -4373,6 +4373,22 @@ error: return ret; } static int in_set_microphone_direction(const struct audio_stream_in *stream, audio_microphone_direction_t dir) { (void)stream; (void)dir; ALOGVV("%s", __func__); return -ENOSYS; } static int in_set_microphone_field_dimension(const struct audio_stream_in *stream, float zoom) { (void)stream; (void)zoom; ALOGVV("%s", __func__); return -ENOSYS; } static bool stream_get_parameter_channels(struct str_parms *query, struct str_parms *reply, audio_channel_mask_t *supported_channel_masks) { Loading Loading @@ -8020,6 +8036,8 @@ static int adev_open_input_stream(struct audio_hw_device *dev, in->stream.get_input_frames_lost = in_get_input_frames_lost; in->stream.get_capture_position = in_get_capture_position; in->stream.get_active_microphones = in_get_active_microphones; in->stream.set_microphone_direction = in_set_microphone_direction; in->stream.set_microphone_field_dimension = in_set_microphone_field_dimension; in->device = devices; in->source = source; Loading Loading
hal/audio_hw.c +18 −0 Original line number Diff line number Diff line Loading @@ -4373,6 +4373,22 @@ error: return ret; } static int in_set_microphone_direction(const struct audio_stream_in *stream, audio_microphone_direction_t dir) { (void)stream; (void)dir; ALOGVV("%s", __func__); return -ENOSYS; } static int in_set_microphone_field_dimension(const struct audio_stream_in *stream, float zoom) { (void)stream; (void)zoom; ALOGVV("%s", __func__); return -ENOSYS; } static bool stream_get_parameter_channels(struct str_parms *query, struct str_parms *reply, audio_channel_mask_t *supported_channel_masks) { Loading Loading @@ -8020,6 +8036,8 @@ static int adev_open_input_stream(struct audio_hw_device *dev, in->stream.get_input_frames_lost = in_get_input_frames_lost; in->stream.get_capture_position = in_get_capture_position; in->stream.get_active_microphones = in_get_active_microphones; in->stream.set_microphone_direction = in_set_microphone_direction; in->stream.set_microphone_field_dimension = in_set_microphone_field_dimension; in->device = devices; in->source = source; Loading