Trait jack::traits::ProcessHandler [] [src]

pub trait ProcessHandler {
    fn process(
        &mut self,
        _: &Client,
        _process_scope: &ProcessScope
    ) -> JackControl; }

Required Methods

Called whenever there is work to be done.

It needs to be suitable for real-time execution. That means that it cannot call functions that might block for a long time. This includes all I/O functions (disk, TTY, network), malloc, free, printf, pthread_mutex_lock, sleep, wait, poll, select, pthread_join, pthread_cond_wait, etc, etc.

Should return JackControl::Continue on success, and JackControl::Quit on error.

Implementors