pub struct CommandDspMixerSourceState {
pub mute: Vec<bool>,
pub solo: Vec<bool>,
pub gain: Vec<f32>,
pub pan: Vec<f32>,
pub stereo_mode: Vec<SourceStereoPairMode>,
pub stereo_balance: Vec<f32>,
pub stereo_width: Vec<f32>,
}
Expand description
State of entry of mixer function.
Fields§
§mute: Vec<bool>
Whether to mute the source of mixer.
solo: Vec<bool>
Whether to mute the other sources of mixer.
gain: Vec<f32>
The gain for source of mixer.
pan: Vec<f32>
The left and right balance for source of mixer.
stereo_mode: Vec<SourceStereoPairMode>
The mode of stereo pair.
stereo_balance: Vec<f32>
The left and right balance for source of mixer when paired.
stereo_width: Vec<f32>
The left and right width for source of mixer when paired.
Trait Implementations§
Source§impl Clone for CommandDspMixerSourceState
impl Clone for CommandDspMixerSourceState
Source§fn clone(&self) -> CommandDspMixerSourceState
fn clone(&self) -> CommandDspMixerSourceState
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 CommandDspMixerSourceState
impl Debug for CommandDspMixerSourceState
Source§impl Default for CommandDspMixerSourceState
impl Default for CommandDspMixerSourceState
Source§fn default() -> CommandDspMixerSourceState
fn default() -> CommandDspMixerSourceState
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CommandDspMixerSourceState
Auto Trait Implementations§
impl Freeze for CommandDspMixerSourceState
impl RefUnwindSafe for CommandDspMixerSourceState
impl Send for CommandDspMixerSourceState
impl Sync for CommandDspMixerSourceState
impl Unpin for CommandDspMixerSourceState
impl UnwindSafe for CommandDspMixerSourceState
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