pub struct Io14fwProtocol;
Expand description
Protocol implementation specific to iO 14 FireWire.
Trait Implementations§
Source§impl AlesisOperation for Io14fwProtocol
impl AlesisOperation for Io14fwProtocol
Source§impl Debug for Io14fwProtocol
impl Debug for Io14fwProtocol
Source§impl Default for Io14fwProtocol
impl Default for Io14fwProtocol
Source§fn default() -> Io14fwProtocol
fn default() -> Io14fwProtocol
Returns the “default value” for a type. Read more
Source§impl IofwMeterSpecification for Io14fwProtocol
impl IofwMeterSpecification for Io14fwProtocol
Source§const ANALOG_INPUT_COUNT: usize = 4usize
const ANALOG_INPUT_COUNT: usize = 4usize
The number of analog inputs.
Source§const DIGITAL_B_INPUT_COUNT: usize = 2usize
const DIGITAL_B_INPUT_COUNT: usize = 2usize
The number of digital B inputs.
Source§const STREAM_INPUT_COUNT: usize = 8usize
const STREAM_INPUT_COUNT: usize = 8usize
The number of stream inputs.
Source§const DIGITAL_A_INPUT_COUNT: usize = 8usize
const DIGITAL_A_INPUT_COUNT: usize = 8usize
The number of digital A inputs.
Source§const MIXER_OUTPUT_COUNT: usize = 8usize
const MIXER_OUTPUT_COUNT: usize = 8usize
The number of mixer outputs.
Source§fn create_meter_params() -> IofwMeterParams
fn create_meter_params() -> IofwMeterParams
Instantiate state of meters.
Source§impl IofwMixerSpecification for Io14fwProtocol
impl IofwMixerSpecification for Io14fwProtocol
Source§const ANALOG_INPUT_PAIR_COUNT: usize = 2usize
const ANALOG_INPUT_PAIR_COUNT: usize = 2usize
The number of analog input pairs.
Source§const DIGITAL_B_INPUT_PAIR_COUNT: usize = 1usize
const DIGITAL_B_INPUT_PAIR_COUNT: usize = 1usize
The number of digital input B pairs.
Source§const STREAM_INPUT_PAIR_COUNT: usize = 4usize
const STREAM_INPUT_PAIR_COUNT: usize = 4usize
The number of stream input pairs.
Source§const DIGITAL_A_INPUT_PAIR_COUNT: usize = 4usize
const DIGITAL_A_INPUT_PAIR_COUNT: usize = 4usize
The number of digital input A pairs.
Source§const MIXER_OUTPUT_PAIR_COUNT: usize = 4usize
const MIXER_OUTPUT_PAIR_COUNT: usize = 4usize
The number of mixer output pairs.
Source§const VOLUME_MIN: u32 = 0u32
const VOLUME_MIN: u32 = 0u32
The minimum value of volume, as well as minimum value of knob.
Source§const VOLUME_MAX: u32 = 256u32
const VOLUME_MAX: u32 = 256u32
The maximum value of volume, as well as maximum value of knob.
Source§fn create_mixer_params() -> IofwMixerParams
fn create_mixer_params() -> IofwMixerParams
Instantiate mixer parameters.
Source§impl IofwOutputSpecification for Io14fwProtocol
impl IofwOutputSpecification for Io14fwProtocol
Source§const ANALOG_OUTPUT_COUNT: usize = 4usize
const ANALOG_OUTPUT_COUNT: usize = 4usize
The number of analog outputs.
Source§const HAS_OPT_IFACE_B: bool = false
const HAS_OPT_IFACE_B: bool = false
Whether optical interface B is available or not.
Source§fn create_output_params() -> IofwOutputParams
fn create_output_params() -> IofwOutputParams
Instantiate output parameters.
Source§impl TcatGlobalSectionSpecification for Io14fwProtocol
impl TcatGlobalSectionSpecification for Io14fwProtocol
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 Io14fwProtocol
impl TcatOperation for Io14fwProtocol
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 Io14fwProtocol
impl RefUnwindSafe for Io14fwProtocol
impl Send for Io14fwProtocol
impl Sync for Io14fwProtocol
impl Unpin for Io14fwProtocol
impl UnwindSafe for Io14fwProtocol
Blanket Implementations§
Source§impl<O> AlesisFluctuatedParametersOperation<IofwMixerParams> for O
impl<O> AlesisFluctuatedParametersOperation<IofwMixerParams> for O
Source§const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] = const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] =
&[Range {
start: MIXER_OUTPUT_VOLUME_OFFSET,
end: MIXER_OUTPUT_VOLUME_OFFSET + 8 },
Range {
start: KNOB_PARAMS_OFFSET,
end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] = const FLUCTUATED_OFFSET_RANGES: &'static [Range<usize>] = &[Range { start: MIXER_OUTPUT_VOLUME_OFFSET, end: MIXER_OUTPUT_VOLUME_OFFSET + 8 }, Range { start: KNOB_PARAMS_OFFSET, end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
The set of address offsets in which any value is changed apart from software operation.
Source§impl<O> AlesisMutableParametersOperation<IofwMixerParams> for O
impl<O> AlesisMutableParametersOperation<IofwMixerParams> for O
Source§impl<O> AlesisMutableParametersOperation<IofwOutputParams> for O
impl<O> AlesisMutableParametersOperation<IofwOutputParams> for O
Source§impl<O, T> AlesisParametersOperation<T> for Owhere
O: AlesisOperation + AlesisParametersSerdes<T>,
impl<O, T> AlesisParametersOperation<T> for Owhere
O: AlesisOperation + AlesisParametersSerdes<T>,
Source§impl<O> AlesisParametersSerdes<IofwMeterParams> for Owhere
O: IofwMeterSpecification,
impl<O> AlesisParametersSerdes<IofwMeterParams> for Owhere
O: IofwMeterSpecification,
Source§const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] =
&[Range { start: METER_OFFSET, end: METER_OFFSET + METER_SIZE }];
const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] = &[Range { start: METER_OFFSET, end: METER_OFFSET + METER_SIZE }];
The range of offset for parameters.
Source§fn serialize_params(
params: &IofwMeterParams,
raw: &mut [u8],
) -> Result<(), String>
fn serialize_params( params: &IofwMeterParams, raw: &mut [u8], ) -> Result<(), String>
Serialize parameters to raw layout of data.
Source§fn deserialize_params(
params: &mut IofwMeterParams,
raw: &[u8],
) -> Result<(), String>
fn deserialize_params( params: &mut IofwMeterParams, raw: &[u8], ) -> Result<(), String>
Deserialize parameters from raw layout of data.
Source§impl<O> AlesisParametersSerdes<IofwMixerParams> for Owhere
O: IofwMixerSpecification,
impl<O> AlesisParametersSerdes<IofwMixerParams> for Owhere
O: IofwMixerSpecification,
Source§const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] =
&[Range {
start: MIXER_PARAMS_OFFSET,
end: MIXER_PARAMS_OFFSET + MIXER_PARAMS_SIZE },
Range {
start: KNOB_PARAMS_OFFSET,
end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] = &[Range { start: MIXER_PARAMS_OFFSET, end: MIXER_PARAMS_OFFSET + MIXER_PARAMS_SIZE }, Range { start: KNOB_PARAMS_OFFSET, end: KNOB_PARAMS_OFFSET + KNOB_PARAMS_SIZE }];
The range of offset for parameters.
Source§fn serialize_params(
params: &IofwMixerParams,
raw: &mut [u8],
) -> Result<(), String>
fn serialize_params( params: &IofwMixerParams, raw: &mut [u8], ) -> Result<(), String>
Serialize parameters to raw layout of data.
Source§fn deserialize_params(
params: &mut IofwMixerParams,
raw: &[u8],
) -> Result<(), String>
fn deserialize_params( params: &mut IofwMixerParams, raw: &[u8], ) -> Result<(), String>
Deserialize parameters from raw layout of data.
Source§impl<O> AlesisParametersSerdes<IofwOutputParams> for Owhere
O: IofwOutputSpecification,
impl<O> AlesisParametersSerdes<IofwOutputParams> for Owhere
O: IofwOutputSpecification,
Source§const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] =
&[Range { start: OUT_LEVEL_OFFSET, end: OUT_LEVEL_OFFSET + 16 }];
const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] = &[Range { start: OUT_LEVEL_OFFSET, end: OUT_LEVEL_OFFSET + 16 }];
The range of offset for parameters.
Source§fn serialize_params(
params: &IofwOutputParams,
raw: &mut [u8],
) -> Result<(), String>
fn serialize_params( params: &IofwOutputParams, raw: &mut [u8], ) -> Result<(), String>
Serialize parameters to raw layout of data.
Source§fn deserialize_params(
params: &mut IofwOutputParams,
raw: &[u8],
) -> Result<(), String>
fn deserialize_params( params: &mut IofwOutputParams, raw: &[u8], ) -> Result<(), String>
Deserialize parameters from raw layout of data.
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> 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.