Trait jack::PortSpec

source ·
pub unsafe trait PortSpec: Sized {
    // Required methods
    fn jack_port_type(&self) -> &str;
    fn jack_flags(&self) -> PortFlags;
    fn jack_buffer_size(&self) -> c_ulong;
}
Expand description

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

Safety

This trait is unsafe because it may depend on interpretting raw bytes.

Required Methods§

source

fn jack_port_type(&self) -> &str

String used by JACK upon port creation to identify the port type.

source

fn jack_flags(&self) -> PortFlags

Flags used by jack upon port creation.

source

fn jack_buffer_size(&self) -> c_ulong

Size used by jack upon port creation.

Implementors§