diff --git a/Cargo.lock b/Cargo.lock index 910bfcab..39676f5a 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 2d21fc09..dd066d21 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 5d152f6e..dd61ba71 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 7444e0b5..5ba2d431 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 9cd24925..48ebc7dc 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> {