Lines Matching refs:rate
60 .rate = PLAYBACK_DEFAULT_SAMPLING_RATE,
80 .rate = CAPTURE_DEFAULT_SAMPLING_RATE,
98 .rate = CAPTURE_DEFAULT_SAMPLING_RATE,
116 .rate = CAPTURE_DEFAULT_SAMPLING_RATE,
134 .rate = SCO_DEFAULT_SAMPLING_RATE,
154 .rate = SCO_DEFAULT_SAMPLING_RATE,
172 .rate = 16000,
214 .rate = DEEP_BUFFER_OUTPUT_SAMPLING_RATE,
951 …ernel_delay = (long)(((int64_t)kernel_frames * 1000000000) / ref_device->pcm_profile->config.rate); in get_capture_reference_delay()
991 buf_delay = (long)(((int64_t)(in->read_buf_frames) * 1000000000) / in->config.rate + in get_capture_delay()
1000 kernel_delay = (long)(((int64_t)kernel_frames * 1000000000) / in->config.rate); in get_capture_delay()
1210 …ALOGV("%s: ref_device rate:%d, ch:%d", __func__, ref_pcm_profile->config.rate, ref_pcm_profile->co… in get_hw_echo_reference()
1258 out->config.rate); in get_playback_delay()
1987 if (in->config.rate != pcm_profile->config.rate) { in start_input_stream()
1999 if (in->requested_rate != in->config.rate) { in start_input_stream()
2010 ret = create_resampler(in->config.rate, in start_input_stream()
2045 pcm_device->pcm_profile->config.channels,pcm_device->pcm_profile->config.rate, in start_input_stream()
2349 if (out->sample_rate != pcm_device->pcm_profile->config.rate) { in out_open_pcm_devices()
2353 out->sample_rate, pcm_device->pcm_profile->config.rate); in out_open_pcm_devices()
2355 pcm_device->pcm_profile->config.rate, in out_open_pcm_devices()
2584 size = (pcm_profile->config.period_size * sample_rate) / pcm_profile->config.rate; in get_input_buffer_size()
2598 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() argument
2601 (void)rate; in out_set_sample_rate()
2894 (out->config.rate); in out_get_latency()
3110 if (bytes * pcm_device->pcm_profile->config.rate / out->sample_rate + frame_size in out_write()
3113 … bytes * pcm_device->pcm_profile->config.rate / out->sample_rate + frame_size; in out_write()
3440 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate) in in_set_sample_rate() argument
3443 (void)rate; in in_set_sample_rate()
3970 out->sample_rate = out->config.rate; in adev_open_output_stream()
3974 out->sample_rate = out->config.rate; in adev_open_output_stream()