From e42c87aeb7ac7c2d88dc846dc44c918c8a99501b Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Tue, 7 Sep 2021 01:52:02 -0300 Subject: [PATCH] fix(apu): quiet gameboy APU --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 4a32bc0..7e8f917 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,6 +71,7 @@ fn main() -> Result<()> { let (prod, cons) = spsc.init(); let sink = Sink::try_new(&stream_handle)?; sink.append(cons); + sink.set_volume(0.1); // TODO: Is this the right way to go about this? game_boy.apu_mut().attach_producer(prod); std::thread::spawn(move || {