#[non_exhaustive]pub enum AudioSource {
External {
bus: usize,
},
Previous {
bus: u64,
},
Silence,
}Expand description
Source of one slot’s input bus in a serial chain.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
External
Read an external bus supplied by the caller.
Previous
Read an active output bus of the immediately preceding slot.
Silence
Fill the destination bus with zero samples.
Trait Implementations§
Source§impl Clone for AudioSource
impl Clone for AudioSource
impl Copy for AudioSource
Source§impl Debug for AudioSource
impl Debug for AudioSource
impl Eq for AudioSource
Source§impl PartialEq for AudioSource
impl PartialEq for AudioSource
impl StructuralPartialEq for AudioSource
Auto Trait Implementations§
impl Forget for AudioSource
impl Freeze for AudioSource
impl Move for AudioSource
impl RefUnwindSafe for AudioSource
impl Send for AudioSource
impl Sync for AudioSource
impl Unpin for AudioSource
impl UnsafeUnpin for AudioSource
impl UnwindSafe for AudioSource
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