Lines Matching refs:sample_rate
51 uint32_t sample_rate; member
60 uint32_t sample_rate; member
70 ALOGV("out_get_sample_rate: %u", out->sample_rate); in out_get_sample_rate()
71 return out->sample_rate; in out_get_sample_rate()
79 out->sample_rate = rate; in out_set_sample_rate()
221 ALOGV("in_get_sample_rate: %u", in->sample_rate); in in_get_sample_rate()
222 return in->sample_rate; in in_get_sample_rate()
230 in->sample_rate = rate; in in_set_sample_rate()
346 uint32_t sample_rate, in samples_per_milliseconds() argument
349 return milliseconds * sample_rate * channel_count / 1000; in samples_per_milliseconds()
385 out->sample_rate = config->sample_rate; in adev_open_output_stream()
386 if (out->sample_rate == 0) in adev_open_output_stream()
387 out->sample_rate = STUB_DEFAULT_SAMPLE_RATE; in adev_open_output_stream()
396 out->sample_rate, 1); in adev_open_output_stream()
399 " frames: %zu", out->sample_rate, out->channel_mask, out->format, in adev_open_output_stream()
484 config->sample_rate, in adev_get_input_buffer_size()
530 in->sample_rate = config->sample_rate; in adev_open_input_stream()
531 if (in->sample_rate == 0) in adev_open_input_stream()
532 in->sample_rate = STUB_DEFAULT_SAMPLE_RATE; in adev_open_input_stream()
540 STUB_INPUT_BUFFER_MILLISECONDS, in->sample_rate, 1); in adev_open_input_stream()
543 "frames: %zu", in->sample_rate, in->channel_mask, in->format, in adev_open_input_stream()