pub struct KliveProtocol;Expand description
Protocol implementation of Konnekt Live.
Trait Implementations§
Source§impl Debug for KliveProtocol
impl Debug for KliveProtocol
Source§impl Default for KliveProtocol
impl Default for KliveProtocol
Source§fn default() -> KliveProtocol
fn default() -> KliveProtocol
Returns the “default value” for a type. Read more
Source§impl ShellKnob0TargetSpecification for KliveProtocol
impl ShellKnob0TargetSpecification for KliveProtocol
Source§const KNOB0_TARGETS: &'static [ShellKnob0Target]
const KNOB0_TARGETS: &'static [ShellKnob0Target]
The list of targets supported for 1st knob.
Source§impl ShellKnob1TargetSpecification for KliveProtocol
impl ShellKnob1TargetSpecification for KliveProtocol
Source§const KNOB1_TARGETS: &'static [ShellKnob1Target]
const KNOB1_TARGETS: &'static [ShellKnob1Target]
The list of targets supported for 2nd knob.
Source§impl ShellMixerMeterSpecification for KliveProtocol
impl ShellMixerMeterSpecification for KliveProtocol
const ANALOG_INPUT_COUNT: usize = 4usize
const DIGITAL_INPUT_COUNT: usize = 8usize
const STREAM_INPUT_COUNT: usize = 2usize
const MAIN_OUTPUT_COUNT: usize = 2usize
const MAX_STREAM_INPUT_COUNT: usize = 8usize
const MAX_ANALOG_INPUT_COUNT: usize = 4usize
const MAX_DIGITAL_INPUT_COUNT: usize = 8usize
fn create_meter_state() -> ShellMixerMeter
Source§impl ShellMixerStateSpecification for KliveProtocol
impl ShellMixerStateSpecification for KliveProtocol
Source§const MONITOR_SRC_MAP: [Option<ShellMixerMonitorSrcType>; 10]
const MONITOR_SRC_MAP: [Option<ShellMixerMonitorSrcType>; 10]
The sources of monitor.
Source§fn analog_input_pair_count() -> usize
fn analog_input_pair_count() -> usize
The number of analog input pairs.
Source§fn digital_input_pair_count() -> usize
fn digital_input_pair_count() -> usize
The number of digital input pairs.
Source§fn create_mixer_state() -> ShellMixerState
fn create_mixer_state() -> ShellMixerState
Instantiate state of mixer.
Source§impl ShellMixerStreamSourcePairSpecification for KliveProtocol
impl ShellMixerStreamSourcePairSpecification for KliveProtocol
const MIXER_STREAM_SOURCE_PAIRS: &'static [ShellMixerStreamSourcePair]
Source§impl ShellStandaloneClockSpecification for KliveProtocol
impl ShellStandaloneClockSpecification for KliveProtocol
Source§const STANDALONE_CLOCK_SOURCES: &'static [ShellStandaloneClockSource]
const STANDALONE_CLOCK_SOURCES: &'static [ShellStandaloneClockSource]
The list of available sources.
Source§impl TcKonnektMutableSegmentOperation<KliveChStripStates> for KliveProtocol
impl TcKonnektMutableSegmentOperation<KliveChStripStates> for KliveProtocol
Source§impl TcKonnektMutableSegmentOperation<KliveConfig> for KliveProtocol
impl TcKonnektMutableSegmentOperation<KliveConfig> for KliveProtocol
Source§impl TcKonnektMutableSegmentOperation<KliveHwState> for KliveProtocol
impl TcKonnektMutableSegmentOperation<KliveHwState> for KliveProtocol
Source§impl TcKonnektMutableSegmentOperation<KliveKnob> for KliveProtocol
impl TcKonnektMutableSegmentOperation<KliveKnob> for KliveProtocol
Source§impl TcKonnektMutableSegmentOperation<KliveMixerState> for KliveProtocol
impl TcKonnektMutableSegmentOperation<KliveMixerState> for KliveProtocol
Source§impl TcKonnektMutableSegmentOperation<KliveReverbState> for KliveProtocol
impl TcKonnektMutableSegmentOperation<KliveReverbState> for KliveProtocol
Source§impl TcKonnektNotifiedSegmentOperation<KliveChStripStates> for KliveProtocol
impl TcKonnektNotifiedSegmentOperation<KliveChStripStates> for KliveProtocol
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<KliveConfig> for KliveProtocol
impl TcKonnektNotifiedSegmentOperation<KliveConfig> for KliveProtocol
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<KliveHwState> for KliveProtocol
impl TcKonnektNotifiedSegmentOperation<KliveHwState> for KliveProtocol
const NOTIFY_FLAG: u32 = 16_777_216u32
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<KliveKnob> for KliveProtocol
impl TcKonnektNotifiedSegmentOperation<KliveKnob> for KliveProtocol
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<KliveMixerState> for KliveProtocol
impl TcKonnektNotifiedSegmentOperation<KliveMixerState> for KliveProtocol
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<KliveReverbState> for KliveProtocol
impl TcKonnektNotifiedSegmentOperation<KliveReverbState> for KliveProtocol
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 TcKonnektSegmentSerdes<KliveChStripMeters> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveChStripMeters> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveChStripStates> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveChStripStates> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveConfig> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveConfig> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveHwState> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveHwState> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveKnob> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveKnob> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveMixerMeter> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveMixerMeter> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveMixerState> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveMixerState> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveReverbMeter> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveReverbMeter> for KliveProtocol
Source§impl TcKonnektSegmentSerdes<KliveReverbState> for KliveProtocol
impl TcKonnektSegmentSerdes<KliveReverbState> for KliveProtocol
Source§impl TcatGlobalSectionSpecification for KliveProtocol
impl TcatGlobalSectionSpecification for KliveProtocol
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 KliveProtocol
impl TcatOperation for KliveProtocol
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 Freeze for KliveProtocol
impl RefUnwindSafe for KliveProtocol
impl Send for KliveProtocol
impl Sync for KliveProtocol
impl Unpin for KliveProtocol
impl UnwindSafe for KliveProtocol
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.