diff --git a/gb-emu/src/audio.rs b/gb-emu/src/audio.rs index c0b087c..2a05763 100644 --- a/gb-emu/src/audio.rs +++ b/gb-emu/src/audio.rs @@ -5,7 +5,7 @@ use cpal::{ use futures::executor; use gb_emu_lib::connect::{AudioOutput, DownsampleType}; -const BUFFERS_PER_FRAME: usize = 100; +const BUFFERS_PER_FRAME: usize = 5; const DOWNSAMPLE_TYPE: DownsampleType = DownsampleType::ZeroOrderHold; pub fn create_output(muted: bool) -> (AudioOutput, Stream) {