Trait rsynth::AudioHandlerMeta[][src]

pub trait AudioHandlerMeta {
    fn max_number_of_audio_inputs(&self) -> usize;
fn max_number_of_audio_outputs(&self) -> usize; }

Define the maximum number of audio inputs and the maximum number of audio outputs.

Backends that require the plugin to implement this trait ensure that when calling the render_buffer method of the AudioRenderer trait

Remark

This trait can be more conveniently implemented by implementing the Meta trait.

Required methods

fn max_number_of_audio_inputs(&self) -> usize[src]

The maximum number of audio inputs supported. This method should return the same value every time it is called.

fn max_number_of_audio_outputs(&self) -> usize[src]

The maximum number of audio outputs supported. This method should return the same value every time it is called.

Loading content...

Implementors

impl<S, E, M> AudioHandlerMeta for TestPlugin<S, E, M> where
    M: AudioHandlerMeta
[src]

impl<T> AudioHandlerMeta for T where
    T: Meta,
    T::MetaData: Port<AudioPort>, 
[src]

Loading content...