Lines Matching full:samplerate
158 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
173 status_t lStatus = out->set(this, devices, format, channels, sampleRate);
198 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status,
209 status_t lStatus = in->set(this, devices, format, channels, sampleRate, acoustic_flags);
346 size_t AudioHardware::getInputBufferSize(uint32_t sampleRate, int format, int channelCount)
631 uint32_t AudioHardware::getInputSampleRate(uint32_t sampleRate)
638 delta = abs(sampleRate - inputSamplingRates[i]);
677 if (lRate == 0) lRate = sampleRate();
682 (lRate != sampleRate())) {
685 if (pRate) *pRate = sampleRate();
732 config.sample_rate = sampleRate();
778 usleep(bytes * 1000000 / frameSize() / sampleRate());
800 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
1070 sampleRate());