fn system_time_to_stream_instant(
    system_time: sys::bindings::asio_import::ASIOTimeStamp,
) -> crate::StreamInstant {
    let systime_ns = asio_ns_to_double(system_time);
    let secs = systime_ns as i64 / 1_000_000_000;
    let nanos = (systime_ns as i64 - secs * 1_000_000_000) as u32;
    crate::StreamInstant::new(secs, nanos)
}
/// Asio retrieves system time via `timeGetTime` which returns the time in milliseconds.
Asio retrieves system time via `timeGetTime` which returns the time in milliseconds.
Asio retrieves system time via ` timeGetTime ` which returns the time in milliseconds .
fn system_time_to_stream_instant(
    system_time: sys::bindings::asio_import::ASIOTimeStamp,
) -> crate::StreamInstant {
    let systime_ns = asio_ns_to_double(system_time);
    let secs = systime_ns as i64 / 1_000_000_000;
    let nanos = (systime_ns as i64 - secs * 1_000_000_000) as u32;
    crate::StreamInstant::new(secs, nanos)
}
fn system_time_to_stream_instant ( system_time : sys :: bindings :: asio_import :: ASIOTimeStamp , ) -> crate :: StreamInstant { let systime_ns = asio_ns_to_double ( system_time ) ; let secs = systime_ns as i64 / 1_000_000_000 ; let nanos = ( systime_ns as i64 - secs * 1_000_000_000 ) as u32 ; crate :: StreamInstant :: new ( secs , nanos ) }
Asio retrieves system time via `timeGetTime` which returns the time in milliseconds.
Asio retrieves system time via ` timeGetTime ` which returns the time in milliseconds .
system_time
sys::bindings::asio_import::ASIOTimeStamp
system_time
sys::bindings::asio_import::ASIOTimeStamp