pub struct Studiok48Protocol;Expand description
Protocol implementation of Studio Konnekt 48.
Trait Implementations§
source§impl Debug for Studiok48Protocol
impl Debug for Studiok48Protocol
source§impl Default for Studiok48Protocol
impl Default for Studiok48Protocol
source§fn default() -> Studiok48Protocol
fn default() -> Studiok48Protocol
Returns the “default value” for a type. Read more
source§impl TcKonnektMutableSegmentOperation<StudioChStripStates> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioChStripStates> for Studiok48Protocol
source§impl TcKonnektMutableSegmentOperation<StudioConfig> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioConfig> for Studiok48Protocol
source§impl TcKonnektMutableSegmentOperation<StudioHwState> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioHwState> for Studiok48Protocol
source§impl TcKonnektMutableSegmentOperation<StudioLineOutLevel> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioLineOutLevel> for Studiok48Protocol
source§impl TcKonnektMutableSegmentOperation<StudioMixerState> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioMixerState> for Studiok48Protocol
source§impl TcKonnektMutableSegmentOperation<StudioPhysOut> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioPhysOut> for Studiok48Protocol
source§impl TcKonnektMutableSegmentOperation<StudioRemote> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioRemote> for Studiok48Protocol
source§impl TcKonnektMutableSegmentOperation<StudioReverbState> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioReverbState> for Studiok48Protocol
source§impl TcKonnektNotifiedSegmentOperation<StudioChStripStates> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioChStripStates> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 12_582_912u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektNotifiedSegmentOperation<StudioConfig> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioConfig> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 262_144u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektNotifiedSegmentOperation<StudioHwState> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioHwState> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 67_108_864u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektNotifiedSegmentOperation<StudioLineOutLevel> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioLineOutLevel> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 65_536u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektNotifiedSegmentOperation<StudioMixerState> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioMixerState> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 524_288u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektNotifiedSegmentOperation<StudioPhysOut> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioPhysOut> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 1_048_576u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektNotifiedSegmentOperation<StudioRemote> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioRemote> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 131_072u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektNotifiedSegmentOperation<StudioReverbState> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioReverbState> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 2_097_152u32
source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
source§impl TcKonnektSegmentSerdes<StudioChStripMeters> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioChStripMeters> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioChStripStates> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioChStripStates> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioConfig> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioConfig> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioHwState> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioHwState> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioLineOutLevel> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioLineOutLevel> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioMixerMeter> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioMixerMeter> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioMixerState> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioMixerState> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioPhysOut> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioPhysOut> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioRemote> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioRemote> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioReverbMeter> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioReverbMeter> for Studiok48Protocol
source§impl TcKonnektSegmentSerdes<StudioReverbState> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioReverbState> for Studiok48Protocol
source§impl TcatGlobalSectionSpecification for Studiok48Protocol
impl TcatGlobalSectionSpecification for Studiok48Protocol
source§const AVAILABLE_CLOCK_SOURCE_OVERRIDE: Option<&'static [ClockSource]> = None
const AVAILABLE_CLOCK_SOURCE_OVERRIDE: Option<&'static [ClockSource]> = None
Some models report invalid list for signal source of sampling clock.
source§const CLOCK_SOURCE_LABEL_TABLE: &'static [ClockSource] = _
const CLOCK_SOURCE_LABEL_TABLE: &'static [ClockSource] = _
Some models report list of labels for signal source of sampling clock with unexpected
position.
source§impl TcatOperation for Studiok48Protocol
impl TcatOperation for Studiok48Protocol
source§fn read(
req: &FwReq,
node: &FwNode,
offset: usize,
frames: &mut [u8],
timeout_ms: u32
) -> Result<(), Error>
fn read( req: &FwReq, node: &FwNode, offset: usize, frames: &mut [u8], timeout_ms: u32 ) -> Result<(), Error>
Initiate read transaction to offset in specific address space and finish it.
source§fn write(
req: &FwReq,
node: &FwNode,
offset: usize,
frames: &mut [u8],
timeout_ms: u32
) -> Result<(), Error>
fn write( req: &FwReq, node: &FwNode, offset: usize, frames: &mut [u8], timeout_ms: u32 ) -> Result<(), Error>
Initiate write transaction to offset in specific address space and finish it.
source§fn read_general_sections(
req: &FwReq,
node: &FwNode,
sections: &mut GeneralSections,
timeout_ms: u32
) -> Result<(), Error>
fn read_general_sections( req: &FwReq, node: &FwNode, sections: &mut GeneralSections, timeout_ms: u32 ) -> Result<(), Error>
Read section layout.
Auto Trait Implementations§
impl RefUnwindSafe for Studiok48Protocol
impl Send for Studiok48Protocol
impl Sync for Studiok48Protocol
impl Unpin for Studiok48Protocol
impl UnwindSafe for Studiok48Protocol
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
source§impl<O, T> TcKonnektSegmentOperation<T> for Owhere
O: TcatOperation + TcKonnektSegmentSerdes<T>,
impl<O, T> TcKonnektSegmentOperation<T> for Owhere
O: TcatOperation + TcKonnektSegmentSerdes<T>,
source§fn cache_whole_segment(
req: &FwReq,
node: &FwNode,
segment: &mut TcKonnektSegment<T>,
timeout_ms: u32
) -> Result<(), Error>
fn cache_whole_segment( req: &FwReq, node: &FwNode, segment: &mut TcKonnektSegment<T>, timeout_ms: u32 ) -> Result<(), Error>
Cache whole segment and deserialize for parameters.
source§impl<O> TcatFluctuatedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
impl<O> TcatFluctuatedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
source§const FLUCTUATED_OFFSETS: &'static [usize] = const FLUCTUATED_OFFSETS: &'static [usize] = &[88];
const FLUCTUATED_OFFSETS: &'static [usize] = const FLUCTUATED_OFFSETS: &'static [usize] = &[88];
The set of address offsets in which any value is changed apart from software operation;
e.g. hardware metering.
source§impl<O> TcatMutableSectionOperation<GlobalParameters> for O
impl<O> TcatMutableSectionOperation<GlobalParameters> for O
source§impl<O> TcatMutableSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
impl<O> TcatMutableSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
source§impl<O> TcatMutableSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
impl<O> TcatMutableSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
source§impl<O> TcatNotifiedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
impl<O> TcatNotifiedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
source§impl<O> TcatNotifiedSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
impl<O> TcatNotifiedSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
source§impl<O> TcatNotifiedSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
impl<O> TcatNotifiedSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
source§impl<O> TcatSectionOperation<ExtendedSyncParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionOperation<ExtendedSyncParameters> for Owhere
O: TcatOperation,
source§impl<O> TcatSectionOperation<GlobalParameters> for O
impl<O> TcatSectionOperation<GlobalParameters> for O
source§impl<O> TcatSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatOperation,
source§impl<O> TcatSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatOperation,
source§impl<O> TcatSectionSerdes<ExtendedSyncParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionSerdes<ExtendedSyncParameters> for Owhere
O: TcatOperation,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::ExtendedSync;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::ExtendedSync;
The type of error.
source§fn serialize(_: &ExtendedSyncParameters, _: &mut [u8]) -> Result<(), String>
fn serialize(_: &ExtendedSyncParameters, _: &mut [u8]) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(
params: &mut ExtendedSyncParameters,
raw: &[u8]
) -> Result<(), String>
fn deserialize( params: &mut ExtendedSyncParameters, raw: &[u8] ) -> Result<(), String>
Deserialize section for parameters.
source§impl<O> TcatSectionSerdes<GlobalParameters> for Owhere
O: TcatOperation + TcatGlobalSectionSpecification,
impl<O> TcatSectionSerdes<GlobalParameters> for Owhere
O: TcatOperation + TcatGlobalSectionSpecification,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::Global;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::Global;
The type of error.
source§fn serialize(params: &GlobalParameters, raw: &mut [u8]) -> Result<(), String>
fn serialize(params: &GlobalParameters, raw: &mut [u8]) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(params: &mut GlobalParameters, raw: &[u8]) -> Result<(), String>
fn deserialize(params: &mut GlobalParameters, raw: &[u8]) -> Result<(), String>
Deserialize section for parameters.
source§impl<O> TcatSectionSerdes<RxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionSerdes<RxStreamFormatParameters> for Owhere
O: TcatOperation,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::RxStreamFormat;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::RxStreamFormat;
The type of error.
source§fn serialize(
params: &RxStreamFormatParameters,
raw: &mut [u8]
) -> Result<(), String>
fn serialize( params: &RxStreamFormatParameters, raw: &mut [u8] ) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(
params: &mut RxStreamFormatParameters,
raw: &[u8]
) -> Result<(), String>
fn deserialize( params: &mut RxStreamFormatParameters, raw: &[u8] ) -> Result<(), String>
Deserialize section for parameters.
source§impl<O> TcatSectionSerdes<TxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionSerdes<TxStreamFormatParameters> for Owhere
O: TcatOperation,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::TxStreamFormat;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::TxStreamFormat;
The type of error.
source§fn serialize(
params: &TxStreamFormatParameters,
raw: &mut [u8]
) -> Result<(), String>
fn serialize( params: &TxStreamFormatParameters, raw: &mut [u8] ) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(
params: &mut TxStreamFormatParameters,
raw: &[u8]
) -> Result<(), String>
fn deserialize( params: &mut TxStreamFormatParameters, raw: &[u8] ) -> Result<(), String>
Deserialize section for parameters.