#[repr(C, packed(4))]pub struct AsioTimeInfo {
pub speed: c_double,
pub system_time: ASIOTimeStamp,
pub sample_position: ASIOSamples,
pub sample_rate: AsioSampleRate,
pub flags: c_long,
pub reserved: [c_char; 12],
}Expand description
A rust-compatible version of the ASIOTimeInfo type that does not contain a binary blob for
fields.
Fields§
§speed: c_doubleAbsolute speed (1. = nominal).
system_time: ASIOTimeStampSystem time related to sample_position, in nanoseconds.
On Windows, must be derived from timeGetTime().
sample_position: ASIOSamplesSample position since ASIOStart().
sample_rate: AsioSampleRateCurrent rate, unsigned.
flags: c_longSee AsioTimeInfoFlags.
reserved: [c_char; 12]Must be 0.
Auto Trait Implementations§
impl Freeze for AsioTimeInfo
impl RefUnwindSafe for AsioTimeInfo
impl Send for AsioTimeInfo
impl Sync for AsioTimeInfo
impl Unpin for AsioTimeInfo
impl UnwindSafe for AsioTimeInfo
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