increase playback buffer size on desktop
This commit is contained in:
@@ -121,7 +121,7 @@ impl AudioSystem {
|
||||
0,
|
||||
vec![
|
||||
0;
|
||||
2400 // 50ms of buffer
|
||||
SAMPLE_RATE as usize/4 // 250ms of buffer
|
||||
],
|
||||
)));
|
||||
let decoder = opus::Decoder::new(SAMPLE_RATE, opus::Channels::Mono)?;
|
||||
|
||||
Reference in New Issue
Block a user