Lines Matching refs:latency
1238 // If configuring a specific latency then we want to specify
1240 // automatically to reach that target latency. However, that flag doesn't
1259 uint32_t latency = bytesPerSec
1263 _playBufferAttr.maxlength = latency; // num bytes stored in the buffer
1264 _playBufferAttr.tlength = latency; // target fill level of play buffer
1266 _playBufferAttr.minreq = latency / WEBRTC_PA_PLAYBACK_REQUEST_FACTOR;
1270 _configuredLatencyPlay = latency;
1352 // If configuring a specific latency then we want to specify
1354 // automatically to reach that target latency. However, that flag doesn't
1373 uint32_t latency = bytesPerSec
1378 // it is not possible to force a high latency setting, only a low one.
1379 _recBufferAttr.fragsize = latency; // size of fragment
1380 _recBufferAttr.maxlength = latency + bytesPerSec
1383 _configuredLatencyRec = latency;
2350 // Otherwise reconfigure the stream with a higher target latency.
2383 // Save the new latency in case we underflow again.
2447 pa_usec_t latency;
2449 if (LATE(pa_stream_get_latency)(stream, &latency, &negative) != 0)
2452 " Can't query latency");
2464 // samples haven't been played yet. In such a case, "latency" contains the
2466 int32_t tmpLatency = (int32_t) -latency;
2476 return (int32_t) latency;