From 81f8a04c38671a82c756450bbe13803e1701ada0 Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 15 Jul 2025 13:12:11 +0200 Subject: Fix noise channel audio to make it more noise and less metallic --- src/desktop/audio.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/desktop/audio.rs') diff --git a/src/desktop/audio.rs b/src/desktop/audio.rs index db15a4f..2438d01 100644 --- a/src/desktop/audio.rs +++ b/src/desktop/audio.rs @@ -18,7 +18,9 @@ impl Iterator for RodioWave fn next(&mut self) -> Option { self.1 += 1; let left = self.1 % 2 == 0; - self.0.next(left) + let result = self.0.next(left); + + result } } -- cgit v1.2.3-70-g09d2