Home
last modified time | relevance | path

Searched refs:chosenSampleRate (Results 1 – 1 of 1) sorted by relevance

/device/asus/fugu/libaudio/
DAudioStreamIn.cpp338 uint32_t chosenSampleRate = mRequestedSampleRate; in startInputStream_l() local
339 if (chosenSampleRate < deviceInfo->minSampleRate) { in startInputStream_l()
340 chosenSampleRate = deviceInfo->minSampleRate; in startInputStream_l()
341 } else if (chosenSampleRate > deviceInfo->maxSampleRate) { in startInputStream_l()
342 chosenSampleRate = deviceInfo->maxSampleRate; in startInputStream_l()
350 mPcmConfig.rate = chosenSampleRate; in startInputStream_l()