pub fn new(device: T, parameter: u16) -> Self {
        let args = MidiFaderCommandArgs::new().
            set_command(0x40).unwrap().
            set_parameter(0, 0).unwrap().
            set_parameter(1, parameter as u32).unwrap();
        GetParameter { command: Some(MidiFaderCommand::new(device, args)) }
    }
// Build a new get parameter command
Build a new get parameter command
Build a new get parameter command
pub fn new(device: T, parameter: u16) -> Self {
        let args = MidiFaderCommandArgs::new().
            set_command(0x40).unwrap().
            set_parameter(0, 0).unwrap().
            set_parameter(1, parameter as u32).unwrap();
        GetParameter { command: Some(MidiFaderCommand::new(device, args)) }
    }
pub fn new ( device : T , parameter : u16 ) -> Self { let args = MidiFaderCommandArgs :: new ( ) . set_command ( 0x40 ) . unwrap ( ) . set_parameter ( 0 , 0 ) . unwrap ( ) . set_parameter ( 1 , parameter as u32 ) . unwrap ( ) ; GetParameter { command : Some ( MidiFaderCommand :: new ( device , args ) ) } }
Build a new get parameter command
Build a new get parameter command
device
T
parameter
u16