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]
fn clone(&self) -> AudioIn
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AudioIn
[src]
impl Default for AudioIn
[src]
impl PortSpec for AudioIn
[src]
fn jack_port_type(&self) -> &'static str
[src]
String used by JACK upon port creation to identify the port type. Read more
fn jack_flags(&self) -> PortFlags
[src]
Flags used by jack upon port creation.
fn jack_buffer_size(&self) -> c_ulong
[src]
Size used by jack upon port creation.