pub struct ListenerStats {Show 14 fields
pub frames_received: u64,
pub media_locked: u64,
pub media_unlocked: u64,
pub interrupted: u64,
pub sequence_mismatches: u64,
pub unsupported_formats: u64,
pub late: u64,
pub early: u64,
pub socket_drops: u64,
pub locked: bool,
pub realtime: bool,
pub drift_ppm: i32,
pub device_underruns: u64,
pub playout: Option<(i64, i64)>,
}Expand description
A listener’s counters (Milan 1.3, Table 5.10).
Fields§
§frames_received: u64§media_locked: u64§media_unlocked: u64§interrupted: u64§sequence_mismatches: u64§unsupported_formats: u64§late: u64§early: u64§socket_drops: u64Frames the socket had no room for, its thread behind: not Milan’s, but what tells a stream’s frames lost here from lost on the way.
locked: boolFrames are arriving.
realtime: boolThe thread taking the frames runs real time.
drift_ppm: i32How far the audio device’s clock runs from gPTP’s, in parts per million.
device_underruns: u64Times the audio device found nothing to play.
playout: Option<(i64, i64)>How long after its presentation time each sample plays, once the device has said when it plays, and how far from that the last chunk played, in nanoseconds.
Trait Implementations§
Source§impl Clone for ListenerStats
impl Clone for ListenerStats
impl Copy for ListenerStats
Source§impl Debug for ListenerStats
impl Debug for ListenerStats
Source§impl Default for ListenerStats
impl Default for ListenerStats
impl Eq for ListenerStats
Source§impl PartialEq for ListenerStats
impl PartialEq for ListenerStats
impl StructuralPartialEq for ListenerStats
Auto Trait Implementations§
impl Forget for ListenerStats
impl Freeze for ListenerStats
impl Move for ListenerStats
impl RefUnwindSafe for ListenerStats
impl Send for ListenerStats
impl Sync for ListenerStats
impl Unpin for ListenerStats
impl UnsafeUnpin for ListenerStats
impl UnwindSafe for ListenerStats
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