Trait jack::PortSpec
[−]
[src]
pub unsafe trait PortSpec: Default + Sized { fn jack_port_type(&self) -> &'static str; fn jack_flags(&self) -> PortFlags; fn jack_buffer_size(&self) -> c_ulong; }
Represents the data of a Port within a JackHandler::process
callback.
Required Methods
fn jack_port_type(&self) -> &'static str
String used by JACK upon port creation to identify the port type.
fn jack_flags(&self) -> PortFlags
Flags used by jack upon port creation.
fn jack_buffer_size(&self) -> c_ulong
Size used by jack upon port creation.
Implementors
impl PortSpec for Unowned
impl<'a> PortSpec for AudioOutSpec
impl PortSpec for AudioInSpec
impl PortSpec for MidiInSpec
impl PortSpec for MidiOutSpec