Trait rsynth::CommonAudioPortMeta [−][src]
Provides some meta-data of the audio-ports used by the plugin or application to the host.
This trait can be more conveniently implemented by implementing the Meta
trait.
Provided methods
fn audio_input_name(&self, index: usize) -> String
[src]
Use or implement input_name
instead.
The name of the audio input with the given index.
You can assume that index
is strictly smaller than Self::max_number_of_audio_inputs()
.
Note
When using the Jack backend, this function should not return an empty string.
fn input_name<W: Write>(
&self,
buffer: &mut W,
index: usize
) -> Result<(), Error>
[src]
&self,
buffer: &mut W,
index: usize
) -> Result<(), Error>
The name of the audio input with the given index.
You can assume that index
is strictly smaller than Self::max_number_of_audio_inputs()
.
Note
When using the Jack backend, the name should not be an empty string.
fn audio_output_name(&self, index: usize) -> String
[src]
Use or implement output_name
instead.
The name of the audio output with the given index.
You can assume that index
is strictly smaller than Self::max_number_of_audio_outputs()
.
Note
When using the Jack backend, this function should not return an empty string.
fn output_name<W: Write>(
&self,
buffer: &mut W,
index: usize
) -> Result<(), Error>
[src]
&self,
buffer: &mut W,
index: usize
) -> Result<(), Error>
The name of the audio output with the given index.
You can assume that index
is strictly smaller than Self::max_number_of_audio_outputs()
.
Note
When using the Jack backend, the name should not be an empty string.
Implementors
impl<T> CommonAudioPortMeta for T where
T: Meta,
T::MetaData: Port<AudioPort>,
<<T as Meta>::MetaData as Port<AudioPort>>::PortData: Name,
[src]
T: Meta,
T::MetaData: Port<AudioPort>,
<<T as Meta>::MetaData as Port<AudioPort>>::PortData: Name,