Struct oboe_sys::oboe_LatencyTuner [−][src]
Expand description
LatencyTuner can be used to dynamically tune the latency of an output stream. It adjusts the stream’s bufferSize by monitoring the number of underruns.
This only affects the latency associated with the first level of buffering that is closest to the application. It does not affect low latency in the HAL, or touch latency in the UI.
Call tune() right before returning from your data callback function if using callbacks. Call tune() right before calling write() if using blocking writes.
If you want to see the ongoing results of this tuning process then call stream->getBufferSize() periodically.
Fields
_bindgen_opaque_blob: [u32; 9]
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for oboe_LatencyTuner
impl Send for oboe_LatencyTuner
impl Sync for oboe_LatencyTuner
impl Unpin for oboe_LatencyTuner
impl UnwindSafe for oboe_LatencyTuner
Blanket Implementations
Mutably borrows from an owned value. Read more