Skip to content

Commit

Permalink
Playtime: Fix unstoppable clips in REAPER 7.16
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Jun 19, 2024
1 parent 15b68b1 commit c405cd1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "realearn"
version = "2.16.0-pre.16"
version = "2.16.0-pre.17"
authors = ["Benjamin Klum <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down
4 changes: 1 addition & 3 deletions main/src/application/unit_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2993,9 +2993,7 @@ fn mapping_has_project_references(mapping: &SharedMapping) -> bool {
}

pub fn reaper_supports_global_midi_filter() -> bool {
let v = Reaper::get().version().to_string();
let v_without_arch = v.split('/').next().unwrap();
v_without_arch >= "6.35+dev0831"
Reaper::get().version().revision() >= "6.35+dev0831"
}

#[allow(dead_code)]
Expand Down
4 changes: 2 additions & 2 deletions main/src/domain/targets/fx_parameter_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use pot::{MacroParam, MacroParamBank};
use reaper_high::{ChangeEvent, Fx, FxParameter, FxParameterCharacter, Project, Reaper, Track};
use reaper_medium::{
GetParamExResult, GetParameterStepSizesResult, MediaTrack, ReaperNormalizedFxParamValue,
ReaperVersion, TrackFxLocation,
TrackFxLocation,
};
use std::borrow::Cow;
use std::convert::TryInto;
Expand Down Expand Up @@ -456,7 +456,7 @@ fn fx_parameter_unit_value(param: &FxParameter, value: ReaperNormalizedFxParamVa
}

fn reaper_is_ready_for_real_time_fx_param_control() -> bool {
Reaper::get().version() >= ReaperVersion::new("6.52+dev0323")
Reaper::get().version().revision() >= "6.52+dev0323"
}

/// If ReaLearn is not on the same track as the FX whose parameters it should control,
Expand Down
2 changes: 1 addition & 1 deletion playtime-clip-engine

0 comments on commit c405cd1

Please sign in to comment.