Lines Matching refs:sampleRate
75 unsigned sampleRate = 0; in threadLoop() local
233 sampleRate = 0; in threadLoop()
236 sampleRate = Format_sampleRate(format); in threadLoop()
239 dumpState->mSampleRate = sampleRate; in threadLoop()
248 if (frameCount > 0 && sampleRate > 0) { in threadLoop()
252 mixer = new AudioMixer(frameCount, sampleRate, FastMixerState::kMaxFastTracks); in threadLoop()
254 periodNs = (frameCount * 1000000000LL) / sampleRate; // 1.00 in threadLoop()
255 underrunNs = (frameCount * 1750000000LL) / sampleRate; // 1.75 in threadLoop()
256 overrunNs = (frameCount * 500000000LL) / sampleRate; // 0.50 in threadLoop()
257 forceNs = (frameCount * 950000000LL) / sampleRate; // 0.95 in threadLoop()
258 warmupNs = (frameCount * 500000000LL) / sampleRate; // 0.50 in threadLoop()
324 if (fastTrack->mSampleRate != 0 && fastTrack->mSampleRate != sampleRate) { in threadLoop()
357 fastTrack->mSampleRate != sampleRate) { in threadLoop()
398 if (trackSampleRate != 0 && trackSampleRate != sampleRate) { in threadLoop()
401 sampleRate; in threadLoop()