Trait easyjack::MetadataHandler [] [src]

pub trait MetadataHandler {
    fn callbacks_of_interest(&self) -> Vec<MetadataHandlers>;

    fn sample_rate_changed(&mut self, srate: NumFrames) -> i32 { ... }
    fn on_port_connect(
        &mut self,
        a: PortId,
        b: PortId,
        status: PortConnectStatus
    ) { ... } }

This trait defines the callbacks which may be delivered to the metadata thread

Required Methods

Function must return all the types of callbacks it wishes to be given

Provided Methods

Called when the sample rate is changed

Called when ports are connected

Implementors