pub struct AudioPlaybackStatsSnapshot {
pub underrun_duration: f64,
pub underrun_events: u64,
pub total_duration: f64,
pub average_latency: f64,
pub minimum_latency: f64,
pub maximum_latency: f64,
}Expand description
Snapshot of AudioPlaybackStats values.
Fields§
§underrun_duration: f64Total duration of underrun frames in seconds.
underrun_events: u64Number of underrun events.
total_duration: f64Total playback duration in seconds.
average_latency: f64Average output latency in seconds since the last latency reset.
minimum_latency: f64Minimum output latency in seconds since the last latency reset.
maximum_latency: f64Maximum output latency in seconds since the last latency reset.
Trait Implementations§
Source§impl Clone for AudioPlaybackStatsSnapshot
impl Clone for AudioPlaybackStatsSnapshot
Source§fn clone(&self) -> AudioPlaybackStatsSnapshot
fn clone(&self) -> AudioPlaybackStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioPlaybackStatsSnapshot
impl Debug for AudioPlaybackStatsSnapshot
Source§impl Default for AudioPlaybackStatsSnapshot
impl Default for AudioPlaybackStatsSnapshot
Source§fn default() -> AudioPlaybackStatsSnapshot
fn default() -> AudioPlaybackStatsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioPlaybackStatsSnapshot
impl RefUnwindSafe for AudioPlaybackStatsSnapshot
impl Send for AudioPlaybackStatsSnapshot
impl Sync for AudioPlaybackStatsSnapshot
impl Unpin for AudioPlaybackStatsSnapshot
impl UnsafeUnpin for AudioPlaybackStatsSnapshot
impl UnwindSafe for AudioPlaybackStatsSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more