fix(apu): quiet gameboy APU
This commit is contained in:
parent
9113e95fa0
commit
e42c87aeb7
|
@ -71,6 +71,7 @@ fn main() -> Result<()> {
|
||||||
let (prod, cons) = spsc.init();
|
let (prod, cons) = spsc.init();
|
||||||
let sink = Sink::try_new(&stream_handle)?;
|
let sink = Sink::try_new(&stream_handle)?;
|
||||||
sink.append(cons);
|
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);
|
game_boy.apu_mut().attach_producer(prod);
|
||||||
|
|
||||||
std::thread::spawn(move || {
|
std::thread::spawn(move || {
|
||||||
|
|
Loading…
Reference in New Issue