From ebd58261ba31efe98471e81bb65a5aab57d31161 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Thu, 5 Nov 2020 02:37:28 +0200 Subject: [PATCH] core: sound: Use correct variable when logging new sample rates Former-commit-id: 6f5ff96dae03b2be061bcf06a6d701fda7ca15cb Former-commit-id: 2934a02dfd36de2e794e8861df8f5035daab3165 --- core/src/sound/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/sound/mod.rs b/core/src/sound/mod.rs index cb80463..9e23e54 100644 --- a/core/src/sound/mod.rs +++ b/core/src/sound/mod.rs @@ -293,7 +293,7 @@ impl SoundController { self.cycles_per_sample = 512 >> resolution; info!( "bias - setting sample frequency to {}hz", - self.cycles_per_sample + self.sample_rate ); // TODO this will not affect the currently scheduled sample event }