pub fn normalized_value(&self) -> Option<f64> {
        let rd = self.load_if_necessary_or_complain();
        let last_change = Reaper::get().find_last_action_value_change(rd.command_id)?;
        use ActionValueChange::*;
        let normalized_value = match last_change {
            AbsoluteLowRes(v) => v.get() as f64 / U7::MAX.get() as f64,
            AbsoluteHighRes(v) => v.get() as f64 / U14::MAX.get() as f64,
            _ => return None,
        };
        Some(normalized_value)
    }
/// reaper-rs listens to MIDI CC/mousewheel action invocations since REAPER 6.19+dev1226
/// and tracks their latest *absolute* value invocations if there are any. This returns the
/// latest absolute value *if there is any*. Only works for main section.
reaper-rs listens to MIDI CC/mousewheel action invocations since REAPER 6.19+dev1226
and tracks their latest *absolute* value invocations if there are any. This returns the
latest absolute value *if there is any*. Only works for main section.
reaper - rs listens to MIDI CC / mousewheel action invocations since REAPER 6 . 19 + dev1226 and tracks their latest * absolute * value invocations if there are any . This returns the latest absolute value * if there is any * . Only works for main section .
pub fn normalized_value(&self) -> Option<f64> {
        let rd = self.load_if_necessary_or_complain();
        let last_change = Reaper::get().find_last_action_value_change(rd.command_id)?;
        use ActionValueChange::*;
        let normalized_value = match last_change {
            AbsoluteLowRes(v) => v.get() as f64 / U7::MAX.get() as f64,
            AbsoluteHighRes(v) => v.get() as f64 / U14::MAX.get() as f64,
            _ => return None,
        };
        Some(normalized_value)
    }
pub fn normalized_value ( & self ) -> Option < f64 > { let rd = self . load_if_necessary_or_complain ( ) ; let last_change = Reaper :: get ( ) . find_last_action_value_change ( rd . command_id ) ? ; use ActionValueChange :: * ; let normalized_value = match last_change { AbsoluteLowRes ( v ) => v . get ( ) as f64 / U7 :: MAX . get ( ) as f64 , AbsoluteHighRes ( v ) => v . get ( ) as f64 / U14 :: MAX . get ( ) as f64 , _ => return None , } ; Some ( normalized_value ) }
reaper-rs listens to MIDI CC/mousewheel action invocations since REAPER 6.19+dev1226
and tracks their latest *absolute* value invocations if there are any.
reaper - rs listens to MIDI CC / mousewheel action invocations since REAPER 6 . 19 + dev1226 and tracks their latest * absolute * value invocations if there are any .
&self
&self