Home
last modified time | relevance | path

Searched refs:audio_stream_in (Results 1 – 9 of 9) sorted by relevance

/hardware/libhardware/include/hardware/
Daudio.h427 struct audio_stream_in { struct
437 int (*set_gain)(struct audio_stream_in *stream, float gain); argument
443 ssize_t (*read)(struct audio_stream_in *stream, void* buffer, argument
456 uint32_t (*get_input_frames_lost)(struct audio_stream_in *stream); argument
472 int (*get_capture_position)(const struct audio_stream_in *stream, argument
485 int (*start)(const struct audio_stream_in* stream); argument
496 int (*stop)(const struct audio_stream_in* stream); argument
514 int (*create_mmap_buffer)(const struct audio_stream_in *stream, argument
531 int (*get_mmap_position)(const struct audio_stream_in *stream, argument
548 int (*get_active_microphones)(const struct audio_stream_in *stream, argument
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c58 struct audio_stream_in stream;
292 static int in_set_gain(struct audio_stream_in *stream, float gain) in in_set_gain()
297 static ssize_t in_read(struct audio_stream_in *stream, void* buffer, in in_read()
330 static uint32_t in_get_input_frames_lost(struct audio_stream_in *stream) in in_get_input_frames_lost()
503 struct audio_stream_in **stream_in, in adev_open_input_stream()
550 struct audio_stream_in *in) in adev_close_input_stream()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c112 struct audio_stream_in stream;
818 static int in_set_gain(struct audio_stream_in *stream, float gain) in in_set_gain()
832 static ssize_t in_read(struct audio_stream_in *stream, void* buffer, size_t bytes) in in_read()
903 static uint32_t in_get_input_frames_lost(struct audio_stream_in *stream) in in_get_input_frames_lost()
908 static int in_get_capture_position(const struct audio_stream_in *stream, in in_get_capture_position()
921 static int in_get_active_microphones(const struct audio_stream_in *stream, in in_get_active_microphones()
931 static int in_set_microphone_direction(const struct audio_stream_in *stream, in in_set_microphone_direction()
939 static int in_set_microphone_field_dimension(const struct audio_stream_in *stream, float zoom) { in in_set_microphone_field_dimension()
949 struct audio_stream_in **stream_in, in adev_open_input_stream()
1155 struct audio_stream_in *stream) in adev_close_input_stream()
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp52 struct audio_stream_in stream;
373 static int in_set_gain(struct audio_stream_in *stream, float gain) in in_set_gain()
380 static ssize_t in_read(struct audio_stream_in *stream, void* buffer, in in_read()
388 static uint32_t in_get_input_frames_lost(struct audio_stream_in *stream) in in_get_input_frames_lost()
558 struct audio_stream_in **stream_in, in adev_open_input_stream()
608 struct audio_stream_in *stream) in adev_close_input_stream()
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp51 struct audio_stream_in stream;
392 static int in_set_gain(struct audio_stream_in *stream, float gain) in in_set_gain()
399 static ssize_t in_read(struct audio_stream_in *stream, void* buffer, in in_read()
407 static uint32_t in_get_input_frames_lost(struct audio_stream_in *stream) in in_get_input_frames_lost()
624 audio_stream_in **stream_in, in adev_open_input_stream()
676 struct audio_stream_in *stream) in adev_close_input_stream()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp190 struct audio_stream_in stream;
296 struct audio_stream_in * const stream) in audio_stream_in_get_submix_stream_in()
309 reinterpret_cast<struct audio_stream_in *>(stream)); in audio_stream_get_submix_stream_in()
1007 audio_stream_in_frame_size((const struct audio_stream_in *)stream); in audio_config_compare()
1090 static int in_set_gain(struct audio_stream_in *stream, float gain) in audio_config_compare()
1097 static ssize_t in_read(struct audio_stream_in *stream, void* buffer, in audio_config_compare()
1325 static uint32_t in_get_input_frames_lost(struct audio_stream_in *stream) in audio_config_compare()
1567 struct audio_stream_in **stream_in, in audio_config_compare()
1687 struct audio_stream_in *stream) in audio_config_compare()
/hardware/qcom/audio/hal/
Daudio_hw.h276 struct audio_stream_in stream;
Daudio_hw.c363 static int in_set_microphone_direction(const struct audio_stream_in *stream,
365 static int in_set_microphone_field_dimension(const struct audio_stream_in *stream, float zoom);
4089 audio_stream_in_frame_size((const struct audio_stream_in *)stream); in in_get_buffer_size()
4284 static int in_set_gain(struct audio_stream_in *stream, float gain) in in_set_gain()
4356 static ssize_t in_read(struct audio_stream_in *stream, void *buffer, in in_read()
4463 static uint32_t in_get_input_frames_lost(struct audio_stream_in *stream __unused) in in_get_input_frames_lost()
4468 static int in_get_capture_position(const struct audio_stream_in *stream, in in_get_capture_position()
4626 static int in_stop(const struct audio_stream_in* stream) in in_stop()
4644 static int in_start(const struct audio_stream_in* stream) in in_start()
4676 static int in_create_mmap_buffer(const struct audio_stream_in *stream, in in_create_mmap_buffer()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dsoundtrigger.c307 usleep((bytes * 1000000) / (audio_stream_in_frame_size((struct audio_stream_in *)in) * in audio_extn_sound_trigger_read()