buffer size sucked lol
This commit is contained in:
parent
0a66d2cb86
commit
a74d9e4d1a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ use cpal::{
|
||||||
use futures::executor;
|
use futures::executor;
|
||||||
use gb_emu_lib::connect::{AudioOutput, DownsampleType};
|
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;
|
const DOWNSAMPLE_TYPE: DownsampleType = DownsampleType::ZeroOrderHold;
|
||||||
|
|
||||||
pub fn create_output(muted: bool) -> (AudioOutput, Stream) {
|
pub fn create_output(muted: bool) -> (AudioOutput, Stream) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue