Struct jack::AudioOut[][src]

pub struct AudioOut;
Expand description

AudioOut implements the PortSpec trait, which defines an endpoint for JACK. In this case, it is a mutable 32 bit floating point buffer for audio.

AudioOut::buffer() is used to gain access the buffer.

Example

let client = jack::Client::new("rusty_client", jack::ClientOptions::NO_START_SERVER)
    .unwrap()
    .0;
let spec = jack::AudioIn::default();
let audio_out_port = client.register_port("out", spec).unwrap();

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

String used by JACK upon port creation to identify the port type. Read more

Flags used by jack upon port creation.

Size used by jack upon port creation.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.