pub struct K24dMixerState {
    pub mixer: ShellMixerState,
    pub reverb_return: ShellReverbReturn,
    pub use_ch_strip_as_plugin: bool,
    pub use_reverb_at_mid_rate: bool,
    pub enabled: bool,
}
Expand description

State of mixer.

Fields§

§mixer: ShellMixerState

The common structure for state of mixer.

§reverb_return: ShellReverbReturn

The parameter of return from reverb effect.

§use_ch_strip_as_plugin: bool

Whether to use channel strip effect as plugin. It results in output of channel strip effect on tx stream.

§use_reverb_at_mid_rate: bool

Whether to use reverb effect at middle sampling rate (88.2/96.0 kHz).

§enabled: bool

Whether to use mixer function.

Trait Implementations§

source§

impl AsMut<ShellMixerState> for K24dMixerState

source§

fn as_mut(&mut self) -> &mut ShellMixerState

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsMut<ShellReverbReturn> for K24dMixerState

source§

fn as_mut(&mut self) -> &mut ShellReverbReturn

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl AsRef<ShellMixerState> for K24dMixerState

source§

fn as_ref(&self) -> &ShellMixerState

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ShellReverbReturn> for K24dMixerState

source§

fn as_ref(&self) -> &ShellReverbReturn

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for K24dMixerState

source§

fn clone(&self) -> K24dMixerState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for K24dMixerState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for K24dMixerState

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl PartialEq for K24dMixerState

source§

fn eq(&self, other: &K24dMixerState) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TcKonnektMutableSegmentOperation<K24dMixerState> for K24dProtocol

source§

fn update_partial_segment( req: &FwReq, node: &FwNode, params: &T, segment: &mut TcKonnektSegment<T>, timeout_ms: u32 ) -> Result<(), Error>

Update part of segment for any change at the parameters.
source§

fn update_whole_segment( req: &FwReq, node: &FwNode, params: &T, segment: &mut TcKonnektSegment<T>, timeout_ms: u32 ) -> Result<(), Error>

Update whole segment by the parameters.
source§

impl TcKonnektNotifiedSegmentOperation<K24dMixerState> for K24dProtocol

source§

const NOTIFY_FLAG: u32 = 262_144u32

source§

fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool

Check message to be notified or not.
source§

impl TcKonnektSegmentSerdes<K24dMixerState> for K24dProtocol

source§

const NAME: &'static str = "mixer-state"

The name of segment.
source§

const OFFSET: usize = 116usize

The offset of segment.
source§

const SIZE: usize = 348usize

The size of segment.
source§

fn serialize(params: &K24dMixerState, raw: &mut [u8]) -> Result<(), String>

Serialize for parameter.
source§

fn deserialize(params: &mut K24dMixerState, raw: &[u8]) -> Result<(), String>

Deserialize for parameter.
source§

impl Eq for K24dMixerState

source§

impl StructuralEq for K24dMixerState

source§

impl StructuralPartialEq for K24dMixerState

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.