Home
last modified time | relevance | path

Searched refs:frames_read (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp1171 ssize_t frames_read = -1977; in audio_config_compare() local
1195 frames_read = source->read(buff, read_frames); in audio_config_compare()
1197 SUBMIX_ALOGV("in_read(): frames read %zd", frames_read); in audio_config_compare()
1203 if (input_channels != output_channels && frames_read > 0) { in audio_config_compare()
1208 for (ssize_t input_stream_frame = 0; input_stream_frame < frames_read; in audio_config_compare()
1216 ssize_t input_stream_offset = (frames_read - 1) * 2; in audio_config_compare()
1217 for (ssize_t output_stream_frame = frames_read - 1; output_stream_frame >= 0; in audio_config_compare()
1229 SUBMIX_ALOGV("in_read(): resampling %zd frames", frames_read); in audio_config_compare()
1234 const float output_stream_frames = (float)frames_read; in audio_config_compare()
1244 frames_read = input_stream_frame; in audio_config_compare()
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.h198 int64_t frames_read; /* total frames read, not cleared when entering standby */ member
Daudio_hw.c2132 in->frames_read += bytes / audio_stream_in_frame_size(stream); in in_read()
2156 *frames = in->frames_read + avail; in in_get_capture_position()