Lines Matching defs:latency
1424 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
1549 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const
1551 return latency;
1554 uint32_t AudioFlinger::PlaybackThread::latency() const
1622 // effectively get the latency it requested.
1744 desc.latency = latency_l();
2219 - device latency
2847 // This pipe depth compensates for scheduling latency of the normal mixer thread.
2848 // When it wakes up after a maximum latency, it runs a few cycles quickly before
2987 uint32_t AudioFlinger::MixerThread::correctLatency_l(uint32_t latency) const
2991 latency += (pipe->getAvgFrames() * 1000) / mSampleRate;
2993 return latency;
3612 // TODO: use actual buffer filling status instead of latency when available from
3925 // FIXME: Relaxed timing because of a certain device that can't meet latency
6013 // FIXME should not be P2 (don't want to increase latency)
6197 desc.latency = 0;
6226 // without increasing latency.
6236 // The current value is higher than necessary. However it should not add to latency.