Struct jack::client::ActiveClient [] [src]

pub struct ActiveClient<JH: JackHandler> { /* fields omitted */ }

A JackClient that is currently active. Active clients may contain JackHandlers that are processing data in real-time.

Methods

impl<JH: JackHandler> ActiveClient<JH>
[src]

Tell the JACK server to remove this client from the process graph. Also, disconnect all ports belonging to it since inactive clients have no port connections.

The handler that was used for Client::activate is returned on success. Its state may have changed due to JACK calling its methods.

In the case of error, the Client is destroyed because its state is unknown, and it is therefore unsafe to continue using.

Trait Implementations

impl<JH: Debug + JackHandler> Debug for ActiveClient<JH>
[src]

Formats the value using the given formatter.

impl<JH: JackHandler> JackClient for ActiveClient<JH>
[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

impl<JH: JackHandler> Drop for ActiveClient<JH>
[src]

Closes the client.

A method called when the value goes out of scope. Read more