Struct jack::client::WeakClient [] [src]

#[repr(C)]
pub struct WeakClient(_);

Similar to a Client, but usually exposed only through reference.

On a technical level, the difference between WeakClient and Client is that WeakClient does not close on drop.

Methods

impl WeakClient
[src]

Construct a WeakClient.

This is mostly for use within the jack crate itself.

Trait Implementations

impl Debug for WeakClient
[src]

Formats the value using the given formatter.

impl JackClient for WeakClient
[src]

Expose the underlying ffi pointer. Read more

The sample rate of the JACK system, as set by the user when jackd was started.

The current CPU load estimated by JACK. Read more

Get the name of the current client. This may differ from the name requested by Client::open as JACK will may rename a client if necessary (ie: name collision, name too long). The name will only the be different than the one passed to Client::open if the ClientStatus was NAME_NOT_UNIQUE. Read more

The current maximum size that will every be passed to the process callback.

Change the buffer size passed to the process callback. Read more

Returns a vector of port names that match the specified arguments Read more

Create a new port for the client. This is an object used for moving data of any type in or out of the client. Ports may be connected in various ways. Read more

Get a Port by its port name.

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

The estimated current time in frames. This function is intended for use in other threads (not the process callback). The return value can be compared with the value of last_frame_time to relate time in other threads to JACK time. To obtain better time information from within the process callback, see ProcessScope. Read more

The estimated time in microseconds of the specified frame time Read more

The estimated time in frames for the specified system time. Read more

Returns true if the port port belongs to this client.

Toggle input monitoring for the port with name port_name. Read more

Establish a connection between two ports by their full name. Read more

Establish a connection between two ports. Read more

Remove a connection between two ports.

Remove a connection between two ports.

The buffer size of a port type Read more