pub struct StudioPhysOut {
    pub master_out: OutPair,
    pub selected_out_grp: usize,
    pub out_pair_srcs: [PhysOutPairSrc; 11],
    pub out_assign_to_grp: [bool; 22],
    pub out_mutes: [bool; 22],
    pub out_grps: [OutGroup; 3],
}
Expand description

Data of physical out segment.

Fields§

§master_out: OutPair

The configuration for master output

§selected_out_grp: usize

The selected output group.

§out_pair_srcs: [PhysOutPairSrc; 11]

The source for pairs of physical output. It includes below pairs in the order:

  • main out 1/2
  • phone out 1/2
  • line out 5/6, 7/8, 9/10, 11/12,
  • S/PDIF out 1/2,
  • ADAT out 1/2, 3/4, 5/6, 7/8,
§out_assign_to_grp: [bool; 22]

The state of assignment to output group.

§out_mutes: [bool; 22]

Whether to mute any source to the physical output.

§out_grps: [OutGroup; 3]

The settings of each group for surround channels.

Trait Implementations§

source§

impl Clone for StudioPhysOut

source§

fn clone(&self) -> StudioPhysOut

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 StudioPhysOut

source§

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

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

impl Default for StudioPhysOut

source§

fn default() -> StudioPhysOut

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

impl PartialEq for StudioPhysOut

source§

fn eq(&self, other: &StudioPhysOut) -> 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<StudioPhysOut> for Studiok48Protocol

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<StudioPhysOut> for Studiok48Protocol

source§

const NOTIFY_FLAG: u32 = 1_048_576u32

source§

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

Check message to be notified or not.
source§

impl TcKonnektSegmentSerdes<StudioPhysOut> for Studiok48Protocol

source§

const NAME: &'static str = "physical-output"

The name of segment.
source§

const OFFSET: usize = 988usize

The offset of segment.
source§

const SIZE: usize = 440usize

The size of segment.
source§

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

Serialize for parameter.
source§

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

Deserialize for parameter.
source§

impl Copy for StudioPhysOut

source§

impl Eq for StudioPhysOut

source§

impl StructuralEq for StudioPhysOut

source§

impl StructuralPartialEq for StudioPhysOut

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.