aboutsummaryrefslogtreecommitdiff
path: root/src/desktop
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-07-15 13:12:11 +0200
committerAstatin <[email protected]>2025-07-15 13:12:11 +0200
commit81f8a04c38671a82c756450bbe13803e1701ada0 (patch)
tree490102918a07d63456f7a9eb9ccf62b3bee69985 /src/desktop
parent9d24a19cd9a392d5a2067a3e233a5a26a1518c35 (diff)
Fix noise channel audio to make it more noise and less metallic
Diffstat (limited to 'src/desktop')
-rw-r--r--src/desktop/audio.rs4
1 files changed, 3 insertions, 1 deletions
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<W: Wave + Send + 'static> Iterator for RodioWave<W>
fn next(&mut self) -> Option<Self::Item> {
self.1 += 1;
let left = self.1 % 2 == 0;
- self.0.next(left)
+ let result = self.0.next(left);
+
+ result
}
}