H4preProtocol

Struct H4preProtocol 

Source
pub struct H4preProtocol;
Expand description

The protocol implementation for 4pre.

Trait Implementations§

Source§

impl Default for H4preProtocol

Source§

fn default() -> H4preProtocol

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

impl MotuPortAssignSpecification for H4preProtocol

Source§

impl MotuRegisterDspMeterSpecification for H4preProtocol

Source§

const INPUT_PORTS: &'static [TargetPort]

The input ports.
Source§

const OUTPUT_PORT_PAIRS: &'static [TargetPort]

The output pairs.
Source§

const OUTPUT_PORT_PAIR_POS: &'static [[usize; 2]]

Source§

const OUTPUT_PORT_COUNT: usize = _

The number of outputs.
Source§

const LEVEL_MIN: u8 = 0u8

The minimum value of detected signal level.
Source§

const LEVEL_MAX: u8 = 127u8

The maximum value of detected signal level.
Source§

const LEVEL_STEP: u8 = 1u8

The step value of detected signal level.
Source§

const METER_IMAGE_SIZE: usize = 48usize

The size of image.
Source§

fn create_meter_state() -> RegisterDspMeterState

Source§

impl MotuRegisterDspMixerStereoSourceSpecification for H4preProtocol

Source§

const MIXER_SOURCES: [TargetPort; 6] = _

The ports of mixer sources.
Source§

const MIXER_SOURCE_PAIR_COUNT: usize = _

The number of paired mixer sources.
Source§

const SOURCE_GAIN_MIN: u8 = 0u8

The minimum value of gain for mixer source.
Source§

const SOURCE_GAIN_MAX: u8 = 128u8

The maximum value of gain for mixer source.
Source§

const SOURCE_GAIN_STEP: u8 = 1u8

The step value of gain for mixer source.
Source§

const SOURCE_PAN_MIN: u8 = 0u8

The minimum value of left and right balance for mixer source.
Source§

const SOURCE_PAN_MAX: u8 = 128u8

The maximum value of left and right balance for mixer source.
Source§

const SOURCE_PAN_STEP: u8 = 1u8

The step value of left and right balance for mixer source.
Source§

const SOURCE_STEREO_BALANCE_MIN: u8 = 0u8

The minimum value of left and right balance for paired mixer source.
Source§

const SOURCE_STEREO_BALANCE_MAX: u8 = 128u8

The maximum value of left and right balance for paired mixer source.
Source§

const SOURCE_STEREO_BALANCE_STEP: u8 = 1u8

The step value of left and right balance for paired mixer source.
Source§

const SOURCE_STEREO_WIDTH_MIN: u8 = 0u8

The minimum value of left and right width for paired mixer source.
Source§

const SOURCE_STEREO_WIDTH_MAX: u8 = 128u8

The maximum value of left and right width for paired mixer source.
Source§

const SOURCE_STEREO_WIDTH_STEP: u8 = 1u8

The step value of left and right width for paired mixer source.
Source§

impl MotuRegisterDspSpecification for H4preProtocol

Source§

const MIXER_OUTPUT_DESTINATIONS: &'static [TargetPort]

The destinations of mixer outputs.
Source§

const MIXER_COUNT: usize = 4usize

The number of mixers.
Source§

const MIXER_OUTPUT_VOLUME_MIN: u8 = 0u8

The minimum value of mixer output volume.
Source§

const MIXER_OUTPUT_VOLUME_MAX: u8 = 128u8

The maximum value of mixer output volume.
Source§

const MIXER_OUTPUT_VOLUME_STEP: u8 = 1u8

The step value of mixer output volume.
Source§

const OUTPUT_VOLUME_MIN: u8 = 0u8

The minimum value of physical output volume.
Source§

const OUTPUT_VOLUME_MAX: u8 = 128u8

The maximum value of physical output volume.
Source§

const OUTPUT_VOLUME_STEP: u8 = 1u8

The step value of physical output volume.
Source§

impl MotuRegisterDspStereoInputSpecification for H4preProtocol

Source§

const MIC_COUNT: usize = 4usize

The number of microphone inputs.
Source§

const INPUT_COUNT: usize = 6usize

The number of inputs.
Source§

const INPUT_PAIR_COUNT: usize = 3usize

The number of input pairs.
Source§

const INPUT_GAIN_MIN: u8 = 0u8

The minimum value of gain.
Source§

const INPUT_MIC_GAIN_MAX: u8 = 60u8

The maximum value of gain for microphone inputs.
Source§

const INPUT_LINE_GAIN_MAX: u8 = 22u8

The maximum value of gain for line inputs.
Source§

const INPUT_SPDIF_GAIN_MAX: u8 = 12u8

The maximum value of gain for S/PDIF inputs.
Source§

const INPUT_GAIN_STEP: u8 = 1u8

The step value of gain.
Source§

fn create_stereo_input_state() -> RegisterDspStereoInputState

Source§

impl MotuVersion3ClockSpecification for H4preProtocol

Source§

const CLOCK_RATES: &'static [ClkRate]

Source§

const CLOCK_RATE_VALS: &'static [u8]

Source§

const CLOCK_SRCS: &'static [V3ClkSrc]

Source§

const CLOCK_SRC_VALS: &'static [u8]

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<O> MotuPartiallyUpdatableParamsOperation<RegisterDspMixerOutputState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerOutputState, updates: RegisterDspMixerOutputState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuPartiallyUpdatableParamsOperation<RegisterDspMixerStereoSourceState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerStereoSourceState, updates: RegisterDspMixerStereoSourceState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuPartiallyUpdatableParamsOperation<RegisterDspOutputState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspOutputState, updates: RegisterDspOutputState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuPartiallyUpdatableParamsOperation<RegisterDspStereoInputState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspStereoInputState, updates: RegisterDspStereoInputState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuRegisterDspEventOperation<PhoneAssignParameters> for O

Source§

fn parse_event( params: &mut PhoneAssignParameters, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspMixerOutputState> for O

Source§

fn parse_event( params: &mut RegisterDspMixerOutputState, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspMixerStereoSourceState> for O

Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspOutputState> for O

Source§

fn parse_event( params: &mut RegisterDspOutputState, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspStereoInputState> for O

Source§

fn parse_event( params: &mut RegisterDspStereoInputState, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspImageOperation<PhoneAssignParameters, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut PhoneAssignParameters, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspMeterState, [u8; 48]> for O

Source§

fn parse_image(params: &mut RegisterDspMeterState, image: &[u8; 48])

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspMixerOutputState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspMixerOutputState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspMixerStereoSourceState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspMixerStereoSourceState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspOutputState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspOutputState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspStereoInputState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspStereoInputState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuWhollyCacheableParamsOperation<PhoneAssignParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut PhoneAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspMixerOutputState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerOutputState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspMixerReturnParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerReturnParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspMixerStereoSourceState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerStereoSourceState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspOutputState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspOutputState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspStereoInputState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspStereoInputState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<V3PortAssignParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut V3PortAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<Version3ClockParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut Version3ClockParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<PhoneAssignParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &PhoneAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<RegisterDspMixerReturnParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &RegisterDspMixerReturnParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<V3PortAssignParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &V3PortAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<Version3ClockParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &Version3ClockParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

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

Source§

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>,

Source§

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.