Lines Matching refs:sampleRate

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