From 1e21ce5c84a5ae9fa32f0c95933e71ba273c74d1 Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Tue, 10 Sep 2024 14:33:25 +0200 Subject: [PATCH] Raise version --- Cargo.lock | 2 +- main/Cargo.toml | 2 +- main/src/domain/audio_hook.rs | 5 ++++- main/src/infrastructure/proto/mod.rs | 2 +- main/src/infrastructure/ui/app/app_library.rs | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 910bfcabf..39676f5a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2804,7 +2804,7 @@ dependencies = [ [[package]] name = "helgobox" -version = "2.16.3" +version = "2.16.4" dependencies = [ "anyhow", "approx", diff --git a/main/Cargo.toml b/main/Cargo.toml index 2d21fc097..dd066d214 100644 --- a/main/Cargo.toml +++ b/main/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "helgobox" -version = "2.16.3" +version = "2.16.4" authors = ["Benjamin Klum "] edition = "2021" build = "build.rs" diff --git a/main/src/domain/audio_hook.rs b/main/src/domain/audio_hook.rs index 5d152f6e3..dd61ba714 100644 --- a/main/src/domain/audio_hook.rs +++ b/main/src/domain/audio_hook.rs @@ -262,7 +262,10 @@ impl RealearnAudioHook { fn on_post(&mut self, args: OnAudioBufferArgs) { self.post_poll_real_time_instances(); - // Let Playtime do its processing + #[cfg(not(feature = "playtime"))] + { + let _ = args; + } #[cfg(feature = "playtime")] { let block_props = AudioBlockProps::from_on_audio_buffer_args(&args); diff --git a/main/src/infrastructure/proto/mod.rs b/main/src/infrastructure/proto/mod.rs index 7444e0b51..5ba2d4317 100644 --- a/main/src/infrastructure/proto/mod.rs +++ b/main/src/infrastructure/proto/mod.rs @@ -41,4 +41,4 @@ pub use initial_playtime_events::*; /// It's important to get this right in order to get good error messages from customers. Knowing /// that they just have an incompatible version mix (e.g. due to manual installing) makes it /// trivial to respond to bug reports. -pub const HOST_API_VERSION: &str = "9.0.0"; +pub const HOST_API_VERSION: &str = "10.0.0"; diff --git a/main/src/infrastructure/ui/app/app_library.rs b/main/src/infrastructure/ui/app/app_library.rs index 9cd249259..48ebc7dc2 100644 --- a/main/src/infrastructure/ui/app/app_library.rs +++ b/main/src/infrastructure/ui/app/app_library.rs @@ -804,7 +804,7 @@ fn to_status(err: anyhow::Error) -> Status { /// /// This doesn't necessarily need to match the `HOST_API_VERSION`, it's too different things. /// In practice, it might be equal or similar because host (plug-in) and app are developed tightly together. -pub const MIN_APP_API_VERSION: Version = Version::new(9, 0, 0); +pub const MIN_APP_API_VERSION: Version = Version::new(10, 0, 0); #[cfg(not(feature = "playtime"))] fn playtime_not_available() -> Result<(), Status> {