Trait jack::PortData
[−]
[src]
pub unsafe trait PortData: Sized { unsafe fn from_ptr(ptr: *mut c_void, nframes: u32) -> Self; fn jack_port_type() -> &'static str; fn jack_flags() -> PortFlags; fn jack_buffer_size() -> u64; }
Represents the data of a Port within a JackHandler::process
callback.
Required Methods
unsafe fn from_ptr(ptr: *mut c_void, nframes: u32) -> Self
Used by Port::data()
.
fn jack_port_type() -> &'static str
String used by jack upon port creation to identify the port type.
fn jack_flags() -> PortFlags
Flags used by jack upon port creation.
fn jack_buffer_size() -> u64
Size used by jack upon port creation.