Trait jack_client::callbacks::JackHandler
[−]
[src]
pub trait JackHandler { fn activated<T: JackHandler>(&mut self, client: &mut JackClient<T>) { ... } fn thread_init(&mut self) { ... } fn shutdown(&mut self, status: ClientStatus, reason: &str) { ... } fn process(&mut self, n_frames: u32) -> JackControl { ... } fn freewheel(&mut self, is_freewheel_enabled: bool) { ... } fn buffer_size(&mut self, size: u32) -> JackControl { ... } fn sample_rate(&mut self, sample_rate: u32) -> JackControl { ... } fn client_registration(&mut self, name: &str, is_registered: bool) { ... } fn port_registration(&mut self, port_id: u32, is_registered: bool) { ... } fn port_rename(
&mut self,
port_id: u32,
old_name: &str,
new_name: &str
) -> JackControl { ... } fn ports_connected(
&mut self,
port_ida: u32,
port_idb: u32,
are_connected: bool
) { ... } fn graph_reorder(&mut self) -> JackControl { ... } fn xrun(&mut self) -> JackControl { ... } }
Provided Methods
fn activated<T: JackHandler>(&mut self, client: &mut JackClient<T>)
fn thread_init(&mut self)
fn shutdown(&mut self, status: ClientStatus, reason: &str)
fn process(&mut self, n_frames: u32) -> JackControl
fn freewheel(&mut self, is_freewheel_enabled: bool)
fn buffer_size(&mut self, size: u32) -> JackControl
fn sample_rate(&mut self, sample_rate: u32) -> JackControl
fn client_registration(&mut self, name: &str, is_registered: bool)
fn port_registration(&mut self, port_id: u32, is_registered: bool)
fn port_rename(
&mut self,
port_id: u32,
old_name: &str,
new_name: &str
) -> JackControl
&mut self,
port_id: u32,
old_name: &str,
new_name: &str
) -> JackControl