fix(apu): quiet gameboy APU

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-09-07 01:52:02 -03:00
parent 9113e95fa0
commit e42c87aeb7
1 changed files with 1 additions and 0 deletions

View File

@ -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 || {