Home | History | Annotate | Download | only in audio_remote_submix

Lines Matching defs:rate

47 //   the duration of a record buffer at the current record sample rate (of the device, not of
52 #define DEFAULT_RATE_HZ 48000 // default sample rate
57 unsigned int rate; // sample rate for the device
105 uint32_t out_rate = out->dev->config.rate;
110 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate)
112 if ((rate != 44100) && (rate != 48000)) {
113 ALOGE("out_set_sample_rate(rate=%u) rate unsupported", rate);
117 //ALOGV("out_set_sample_rate(rate=%u)", rate);
118 out->dev->config.rate = rate;
216 uint32_t latency = (MAX_PIPE_DEPTH_IN_FRAMES * 1000) / config_out->rate;
318 //ALOGV("in_get_sample_rate() returns %u", in->dev->config.rate);
319 return in->dev->config.rate;
322 static int in_set_sample_rate(struct audio_stream *stream, uint32_t rate)
555 rsxadev->config.rate = config->sample_rate;
714 rsxadev->config.rate = config->sample_rate;