buffer size sucked lol

This commit is contained in:
Alex Janka 2023-10-09 14:48:14 +11:00
parent 0a66d2cb86
commit a74d9e4d1a

View file

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