Lines Matching full:samplerate
60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status);
72 lRate = outFinal->sampleRate();
88 if (sampleRate != 0) {
89 if (*sampleRate != 0) {
90 lRate = *sampleRate;
92 *sampleRate = lRate;
127 uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics)
134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics);
138 lRate = inFinal->sampleRate();
154 if (sampleRate != 0) {
155 if (*sampleRate != 0) {
156 lRate = *sampleRate;
158 *sampleRate = lRate;
251 size_t AudioDumpInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount)
253 return mFinalInterface->getInputBufferSize(sampleRate, format, channelCount);
264 uint32_t sampleRate)
266 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mLatency(0), mDevice(devices),
286 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000);
312 uint32_t AudioStreamOutDump::sampleRate() const
314 if (mFinalStream != 0 ) return mFinalStream->sampleRate();
425 uint32_t sampleRate)
427 mSampleRate(sampleRate), mFormat(format), mChannels(channels), mDevice(devices),
457 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000);
472 if (sampleRate() < 16000) {
474 } else if (sampleRate() < 32000) {
476 } else if (sampleRate() < 48000) {
515 uint32_t AudioStreamInDump::sampleRate() const
517 if (mFinalStream != 0 ) return mFinalStream->sampleRate();