[][src]Trait jack::PortSpec

pub unsafe trait PortSpec: Sized {
    fn jack_port_type(&self) -> &str;
fn jack_flags(&self) -> PortFlags;
fn jack_buffer_size(&self) -> c_ulong; }

Defines the configuration for a certain port to JACK, ie 32 bit floating audio input, 8 bit raw midi output, etc...

Required methods

fn jack_port_type(&self) -> &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.

Loading content...

Implementors

impl PortSpec for AudioIn[src]

impl PortSpec for MidiIn[src]

impl PortSpec for MidiOut[src]

impl PortSpec for Unowned[src]

fn jack_port_type(&self) -> &str[src]

Panics on call since the Unowned spec can't be used to create ports.

fn jack_flags(&self) -> PortFlags[src]

Panics on call since the Unowned spec can't be used to create ports.

fn jack_buffer_size(&self) -> c_ulong[src]

Panics on call since the Unowned spec can't be used to create ports.

impl<'a> PortSpec for AudioOut[src]

Loading content...