Home | History | Annotate | Download | only in usbaudio

Lines Matching defs:rate

290     uint32_t rate = proxy_get_sample_rate(&((struct stream_out*)stream)->proxy);
291 ALOGV("out_get_sample_rate() = %d", rate);
292 return rate;
295 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate)
580 /* Rate */
582 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile);
584 proxy_config.rate = config->sample_rate;
586 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile);
690 /* TODO This needs to be calculated based on format/channels/rate */
699 uint32_t rate = proxy_get_sample_rate(&((const struct stream_in *)stream)->proxy);
700 ALOGV("in_get_sample_rate() = %d", rate);
701 return rate;
704 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate)
706 ALOGV("in_set_sample_rate(%d) - NOPE", rate);
939 ALOGV("adev_open_input_stream() rate:%" PRIu32 ", chanMask:0x%" PRIX32 ", fmt:%" PRIu8,
982 /* Rate */
987 if (in->adev->device_sample_rate != 0 && /* we are playing, so lock the rate */
990 proxy_config.rate = config->sample_rate = in->adev->device_sample_rate;
992 proxy_config.rate = config->sample_rate;
994 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(in->profile);