Struct cpal::OutputStreamTimestamp
source · [−]pub struct OutputStreamTimestamp {
pub callback: StreamInstant,
pub playback: StreamInstant,
}
Expand description
A timestamp associated with a call to an output stream’s data callback.
Fields
callback: StreamInstant
The instant the stream’s data callback was invoked.
playback: StreamInstant
The predicted instant that data written will be delivered to the device for playback.
E.g. The instant data will be played by a DAC.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OutputStreamTimestamp
impl Send for OutputStreamTimestamp
impl Sync for OutputStreamTimestamp
impl Unpin for OutputStreamTimestamp
impl UnwindSafe for OutputStreamTimestamp
Blanket Implementations
Mutably borrows from an owned value. Read more