Struct jack::ProcessScope [] [src]

pub struct ProcessScope { /* fields omitted */ }

ProcessScope provides information on the client and frame time information within a process callback.

Methods

impl ProcessScope
[src]

[src]

The number of frames in the current process cycle.

[src]

The precise time at the start of the current process cycle. This function may only be used from the process callback, and can be used to interpret timestamps generated by self.frame_time() in other threads, with respect to the current process cycle.

[src]

The estimated time in frames that has passed since the JACK server began the current process cycle.

[src]

Provides the internal cycle timing information as used by most of the other time related functions. This allows the caller to map between frame counts and microseconds with full precision (i.e. without rounding frame times to integers), and also provides e.g. the microseconds time of the start of the current cycle directly (it has to be computed otherwise).

Err(Error::TimeError) is returned on failure. Err(Error::WeakFunctionNotFound) if the function does not exist.

[src]

Expose the client_ptr for low level purposes.

This is mostly for use within the jack crate itself.

[src]

Create a ProcessScope for the client with the given pointer and the specified amount of frames.

This is mostly for use within the jack crate itself.

Trait Implementations

impl Debug for ProcessScope
[src]

[src]

Formats the value using the given formatter.