Struct vst2::channels::ChannelInfo
[−]
[src]
pub struct ChannelInfo { /* fields omitted */ }Information about an input / output channel. This isn't necessary for a channel to function but informs the host how the channel is meant to be used.
Methods
impl ChannelInfo[src]
fn new(
name: String,
short_name: Option<String>,
active: bool,
arrangement_type: Option<SpeakerArrangementType>
) -> ChannelInfo
name: String,
short_name: Option<String>,
active: bool,
arrangement_type: Option<SpeakerArrangementType>
) -> ChannelInfo
Construct a new ChannelInfo object.
name is a user friendly name for this channel limited to MAX_LABEL characters.
short_name is an optional field which provides a short name limited to MAX_SHORT_LABEL.
active determines whether this channel is active.
arrangement_type describes the arrangement type for this channel.
Trait Implementations
impl Into<ChannelProperties> for ChannelInfo[src]
fn into(self) -> ChannelProperties
Convert to the VST api equivalent of this structure.
impl From<ChannelProperties> for ChannelInfo[src]
fn from(api: ChannelProperties) -> ChannelInfo
Performs the conversion.