From 8effba7de5880927841e7370fc238b53073841e0 Mon Sep 17 00:00:00 2001 From: Erik Natanael Gustafsson Date: Mon, 25 Nov 2024 10:18:28 +0100 Subject: [PATCH] Release 0.5.1 --- README.md | 7 ++++--- knyst/Cargo.toml | 6 +++--- knyst/src/audio_backend.rs | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5b90d7b..4fc242a 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,6 @@ Knyst is a real time audio synthesis framework focusing on flexibility and perfo > [!IMPORTANT] > Knyst is not stable. Knyst's API is still developing and can vary wildly between releases. -## The name - -"Knyst" is a Swedish word meaning _very faint sound_. It is normally almost exclusively used in the negative e.g. "Det hörs inte ett knyst" (eng. "You cannot hear a sound"), but I think it's well worth some affirmative use. # Examples @@ -91,6 +88,10 @@ impl DummyGen { Knyst uses a little bit of unsafe under the hood to improve performance in the most sensitive parts of the library, as do some of its dependencies. The user, however, never _needs_ to write any unsafe code. +## The name + +"Knyst" is a Swedish word meaning _very faint sound_. It is normally almost exclusively used in the negative e.g. "Det hörs inte ett knyst" (eng. "You cannot hear a sound"), but I think it's well worth some affirmative use. + # Roadmap Vision for the future diff --git a/knyst/Cargo.toml b/knyst/Cargo.toml index 3bc2adb..839430c 100644 --- a/knyst/Cargo.toml +++ b/knyst/Cargo.toml @@ -33,7 +33,7 @@ fastapprox = "0.3" # Downcast used to have any user data in the Resources struct downcast-rs = "1.2.0" # JACK audio backend -jack = { version = "0.11", optional = true } +jack = { version = "0.13", optional = true } # CPAL audio backend cpal = { version = "0.15", optional = true } # Only for non real time use channels @@ -45,7 +45,7 @@ hound = "3.5.1" serde = { version = "1.0", features = ["derive"], optional = true } assert_no_alloc = { version = "1.1.2", optional = true } num-traits = "0.2.17" -itertools = "0.12.0" +itertools = "0.13.0" # For concurrency testing [target.'cfg(loom)'.dependencies] @@ -56,7 +56,7 @@ rand = "0.8" criterion = "0.5" anyhow = "1.0" dialog = "0.3" -rfd = "0.12" +rfd = "0.15.1" tokio = { version = "1.26.0", features = [ "rt", "time", diff --git a/knyst/src/audio_backend.rs b/knyst/src/audio_backend.rs index 633122f..3536566 100644 --- a/knyst/src/audio_backend.rs +++ b/knyst/src/audio_backend.rs @@ -296,7 +296,7 @@ mod jack_backend { impl jack::NotificationHandler for JackNotifications { fn thread_init(&self, _: &jack::Client) {} - fn shutdown(&mut self, _status: jack::ClientStatus, _reason: &str) {} + unsafe fn shutdown(&mut self, _status: jack::ClientStatus, _reason: &str) {} fn freewheel(&mut self, _: &jack::Client, _is_enabled: bool) {}