Lines Matching refs:sampleRate
65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument
69 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status); in openOutputStream()
83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { in openOutputStream()
108 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, in openInputStream() argument
111 …return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustic… in openInputStream()
203 size_t A2dpAudioInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) in getInputBufferSize() argument
205 return mHardwareInterface->getInputBufferSize(sampleRate, format, channelCount); in getInputBufferSize()
248 if (lRate == 0) lRate = sampleRate(); in set()
253 (lRate != sampleRate())){ in set()
256 if (pRate) *pRate = sampleRate(); in set()
265 mBufferDurationUs = ((bufferSize() * 1000 )/ frameSize() / sampleRate()) * 1000; in set()