fix(apu): quiet gameboy APU
This commit is contained in:
@@ -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 || {
|
||||||
|
|||||||
Reference in New Issue
Block a user