pub struct AudioRenderCapacity { /* private fields */ }
Expand description

Provider for rendering performance metrics

A load value is computed for each system-level audio callback, by dividing its execution duration by the system-level audio callback buffer size divided by the sample rate.

Ideally the load value is below 1.0, meaning that it took less time to render the audio than it took to play it out. An audio buffer underrun happens when this load value is greater than 1.0: the system could not render audio fast enough for real-time.

Implementations

Start metric collection and analysis

Stop metric collection and analysis

An EventHandler for AudioRenderCapacityEvent.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.