Trait AvcSelectorOperation

Source
pub trait AvcSelectorOperation {
    const FUNC_BLOCK_ID_LIST: &'static [u8];
    const INPUT_PLUG_ID_LIST: &'static [u8];

    // Provided methods
    fn create_selector_parameters() -> AvcSelectorParameters { ... }
    fn cache_selectors(
        avc: &BebobAvc,
        params: &mut AvcSelectorParameters,
        timeout_ms: u32,
    ) -> Result<(), Error> { ... }
    fn update_selectors(
        avc: &BebobAvc,
        params: &AvcSelectorParameters,
        old: &mut AvcSelectorParameters,
        timeout_ms: u32,
    ) -> Result<(), Error> { ... }
}
Expand description

The trait of select operation for audio function block.

Required Associated Constants§

Source

const FUNC_BLOCK_ID_LIST: &'static [u8]

The list of function block identifier.

Source

const INPUT_PLUG_ID_LIST: &'static [u8]

The list of plug identifier.

Provided Methods§

Source

fn create_selector_parameters() -> AvcSelectorParameters

Instantiate parameters.

Source

fn cache_selectors( avc: &BebobAvc, params: &mut AvcSelectorParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache state of hardware to the parameters.

Source

fn update_selectors( avc: &BebobAvc, params: &AvcSelectorParameters, old: &mut AvcSelectorParameters, timeout_ms: u32, ) -> Result<(), Error>

Update the hardware when detecting any changes in the parameters.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl AvcSelectorOperation for FirexonPhysOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for AudiophileHeadphoneProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for AudiophilePhysOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for Fw410HeadphoneProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for Fw410PhysOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for Fw410SpdifOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for SoloSpdifOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for FireboxHeadphoneProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for FireboxMixerStreamSourceProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for FireboxPhysOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for Inspire1394PhysOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for AureonMonitorSourceProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for AureonSpdifOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for Phase88MixerOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for Phase88MixerStreamSourceProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for Phase88PhysInputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for GoPhase24CoaxHeadphoneProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for GoPhase24CoaxPhysInputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for GoPhase24CoaxPhysOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]

Source§

impl AvcSelectorOperation for GoPhase24OptPhysOutputProtocol

Source§

const FUNC_BLOCK_ID_LIST: &'static [u8]

Source§

const INPUT_PLUG_ID_LIST: &'static [u8]