Searched refs:afSampleRate (Results 1 – 4 of 4) sorted by relevance
69 uint32_t afSampleRate; in getMinFrameCount() local71 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); in getMinFrameCount()93 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate); in getMinFrameCount()99 afFrameCount * minBufCount * uint64_t(sampleRate) / afSampleRate; in getMinFrameCount()108 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency); in getMinFrameCount()958 uint32_t afSampleRate; in createTrack_l() local959 status = AudioSystem::getSamplingRate(output, &afSampleRate); in createTrack_l()974 (mSampleRate == afSampleRate))) { in createTrack_l()988 const uint32_t nBuffering = (mSampleRate == afSampleRate) ? 2 : 3; in createTrack_l()1035 uint32_t minBufCount = afLatency / ((1000 * afFrameCount)/afSampleRate); in createTrack_l()[all …]
582 uint32_t afSampleRate; in play() local587 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { in play()588 afSampleRate = kDefaultSampleRate; in play()592 uint32_t totalFrames = (kDefaultBufferCount * afFrameCount * sampleRate) / afSampleRate; in play()
421 uint32_t afSampleRate = AudioSystem::getPrimaryOutputSamplingRate(); in openRecord_l() local422 if (afSampleRate == 0) { in openRecord_l()431 (mSampleRate == afSampleRate))) { in openRecord_l()
1574 uint32_t afSampleRate; in open() local1588 uint32_t afSampleRate; in open() local1594 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in open()1598 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate; in open()