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§
source§impl PortSpec for AudioOut
impl PortSpec for AudioOut
source§fn jack_port_type(&self) -> &'static str
fn jack_port_type(&self) -> &'static str
String used by JACK upon port creation to identify the port
type.
source§fn jack_flags(&self) -> PortFlags
fn jack_flags(&self) -> PortFlags
Flags used by jack upon port creation.
source§fn jack_buffer_size(&self) -> c_ulong
fn jack_buffer_size(&self) -> c_ulong
Size used by jack upon port creation.