#[repr(u32)]pub enum AudioPortFlags {
IsMain = 1,
Supports64bits = 2,
Prefers64bits = 4,
RequiresCommonSampleSize = 8,
}Variants§
IsMain = 1
This port is the main audio input or output. There can be only one main input and main output. Main port must be at index 0.
Supports64bits = 2
This port can be used with 64 bits audio
Prefers64bits = 4
64 bits audio is preferred with this port
RequiresCommonSampleSize = 8
This port must be used with the same sample size as all the other ports which have this flag. In other words if all ports have this flag then the plugin may either be used entirely with 64 bits audio or 32 bits audio, but it can’t be mixed.
Implementations§
Trait Implementations§
Source§impl Clone for AudioPortFlags
impl Clone for AudioPortFlags
Source§fn clone(&self) -> AudioPortFlags
fn clone(&self) -> AudioPortFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioPortFlags
impl Debug for AudioPortFlags
Source§impl From<AudioPortFlags> for u32
impl From<AudioPortFlags> for u32
Source§fn from(value: AudioPortFlags) -> Self
fn from(value: AudioPortFlags) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AudioPortFlags
impl PartialEq for AudioPortFlags
impl Copy for AudioPortFlags
impl Eq for AudioPortFlags
impl StructuralPartialEq for AudioPortFlags
Auto Trait Implementations§
impl Freeze for AudioPortFlags
impl RefUnwindSafe for AudioPortFlags
impl Send for AudioPortFlags
impl Sync for AudioPortFlags
impl Unpin for AudioPortFlags
impl UnwindSafe for AudioPortFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more