Struct vst::api::ChannelProperties
source · #[repr(C)]pub struct ChannelProperties {
pub name: [u8; 64],
pub flags: i32,
pub arrangement_type: SpeakerArrangementType,
pub short_name: [u8; 8],
pub future: [u8; 48],
}
Expand description
Information about a channel. Only some hosts use this information.
Fields§
§name: [u8; 64]
Channel name.
flags: i32
Flags found in ChannelFlags
.
arrangement_type: SpeakerArrangementType
Type of speaker arrangement this channel is a part of.
short_name: [u8; 8]
Name of channel (recommended: 6 characters + delimiter).
future: [u8; 48]
Reserved for future use.
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 From<ChannelProperties> for SpeakerArrangementType
impl From<ChannelProperties> for SpeakerArrangementType
Convert the VST API equivalent struct into something more usable.
We implement From<ChannelProperties>
as SpeakerArrangementType
contains extra info about
stereo speakers found in the channel flags.
source§fn from(api: ChannelProperties) -> SpeakerArrangementType
fn from(api: ChannelProperties) -> SpeakerArrangementType
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.