Struct jack::prelude::AudioOutSpec
[−]
[src]
pub struct AudioOutSpec;
AudioOutSpec
implements the PortSpec
trait, which defines an
endpoint for JACK. In this case, it is a mutable 32 bit floating
point buffer for audio.
AudioOutSpec::buffer()
is used to gain access the buffer.
Example
let client = jack::client::Client::new("rusty_client", jack::client::client_options::NO_START_SERVER).unwrap().0; let spec = jack::port::AudioInSpec::default(); let audio_out_port = client.register_port("out", spec).unwrap();
Trait Implementations
impl Debug for AudioOutSpec
[src]
impl Default for AudioOutSpec
[src]
fn default() -> AudioOutSpec
[src]
Returns the "default value" for a type. Read more
impl<'a> PortSpec for AudioOutSpec
[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.