Lines Matching refs:afFrameCount
60 size_t afFrameCount;
61 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
70 uint32_t minBufCount = afLatency / ((1000 * afFrameCount) / afSampleRate);
75 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount :
76 afFrameCount * minBufCount * sampleRate / afSampleRate;
77 ALOGV("getMinFrameCount=%d: afFrameCount=%d, minBufCount=%d, afSampleRate=%d, afLatency=%d",
78 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency);
871 size_t afFrameCount;
872 status = AudioSystem::getFrameCount(output, streamType, &afFrameCount);
917 frameCount = afFrameCount;
948 uint32_t minBufCount = afLatency / ((1000 * afFrameCount)/afSampleRate);
949 ALOGV("afFrameCount=%d, minBufCount=%d, afSampleRate=%u, afLatency=%d",
950 afFrameCount, minBufCount, afSampleRate, afLatency);
955 size_t minFrameCount = (afFrameCount*sampleRate*minBufCount)/afSampleRate;
956 ALOGV("minFrameCount: %u, afFrameCount=%d, minBufCount=%d, sampleRate=%u, afSampleRate=%u"
958 minFrameCount, afFrameCount, minBufCount, sampleRate, afSampleRate, afLatency);