Struct jack::AudioIn [] [src]

pub struct AudioIn;

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

AudioIn::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_in_port = client.register_port("in", spec).unwrap();

Trait Implementations

impl Copy for AudioIn
[src]

impl Clone for AudioIn
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AudioIn
[src]

[src]

Formats the value using the given formatter.

impl Default for AudioIn
[src]

[src]

Returns the "default value" for a type. Read more

impl PortSpec for AudioIn
[src]

[src]

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

[src]

Flags used by jack upon port creation.

[src]

Size used by jack upon port creation.