Skip to content

Commit 047957a

Browse files
committed
Fix sample rate issue introduced in 1.4.4!
1 parent aace746 commit 047957a

5 files changed

Lines changed: 8 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "Actuate"
3-
version = "1.4.4"
3+
version = "1.4.5"
44
edition = "2021"
55
authors = ["Ardura <azviscarra@gmail.com>"]
66
license = "GPL-3.0-or-later"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Actuate (Latest is v1.4.3)
1+
# Actuate (Latest is v1.4.5)
22

33
A Subtractive and Additive Synthesizer, Sampler, and Granulizer built in Rust + Nih-Plug
44
Written by Ardura

src/actuate_gui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ pub(crate) fn make_actuate_gui(instance: &mut Actuate, _async_executor: AsyncExe
412412
ui.label(RichText::new("Actuate")
413413
.font(FONT)
414414
.color(FONT_COLOR))
415-
.on_hover_text("v1.4.4 by Ardura!");
415+
.on_hover_text("v1.4.5 by Ardura!");
416416
ui.add_space(2.0);
417417
ui.separator();
418418

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If not, see https://www.gnu.org/licenses/.
1515
#####################################
1616
1717
Actuate - Synthesizer + Sampler/Granulizer by Ardura
18-
Version 1.4.4
18+
Version 1.4.5
1919
2020
#####################################
2121
@@ -3553,6 +3553,9 @@ impl Plugin for Actuate {
35533553
_context: &mut impl InitContext<Self>,
35543554
) -> bool {
35553555
self.sample_rate = buffer_config.sample_rate;
3556+
self.audio_module_1.lock().unwrap().update_sample_rate(self.sample_rate);
3557+
self.audio_module_2.lock().unwrap().update_sample_rate(self.sample_rate);
3558+
self.audio_module_3.lock().unwrap().update_sample_rate(self.sample_rate);
35563559

35573560
return true;
35583561
}

0 commit comments

Comments
 (0)