Lines Matching defs:latency
1426 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
1551 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const
1553 return latency;
1556 uint32_t AudioFlinger::PlaybackThread::latency() const
1624 // effectively get the latency it requested.
1744 desc.latency = latency_l();
2198 - device latency
2825 // This pipe depth compensates for scheduling latency of the normal mixer thread.
2826 // When it wakes up after a maximum latency, it runs a few cycles quickly before
2965 uint32_t AudioFlinger::MixerThread::correctLatency_l(uint32_t latency) const
2969 latency += (pipe->getAvgFrames() * 1000) / mSampleRate;
2971 return latency;
3589 // TODO: use actual buffer filling status instead of latency when available from
3902 // FIXME: Relaxed timing because of a certain device that can't meet latency
5906 // FIXME should not be P2 (don't want to increase latency)
6090 desc.latency = 0;
6119 // without increasing latency.
6129 // The current value is higher than necessary. However it should not add to latency.