Struct vst::channels::ChannelInfo
source · pub struct ChannelInfo { /* private fields */ }
Expand description
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.
Implementations§
source§impl ChannelInfo
impl ChannelInfo
sourcepub fn new(
name: String,
short_name: Option<String>,
active: bool,
arrangement_type: Option<SpeakerArrangementType>
) -> ChannelInfo
pub fn new(
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§
source§impl From<ChannelProperties> for ChannelInfo
impl From<ChannelProperties> for ChannelInfo
source§fn from(api: ChannelProperties) -> ChannelInfo
fn from(api: ChannelProperties) -> ChannelInfo
Converts to this type from the input type.
source§impl Into<ChannelProperties> for ChannelInfo
impl Into<ChannelProperties> for ChannelInfo
source§fn into(self) -> ChannelProperties
fn into(self) -> ChannelProperties
Convert to the VST api equivalent of this structure.