change buffer size
This commit is contained in:
parent
0f919c612c
commit
d041475ced
|
@ -63,7 +63,7 @@ impl AudioOutput {
|
|||
sample_rate: f32,
|
||||
wait_for_output: bool,
|
||||
) -> (Self, AsyncHeapConsumer<[f32; 2]>) {
|
||||
let rb_len = sample_rate as usize / (60 * 2);
|
||||
let rb_len = sample_rate as usize / 60;
|
||||
|
||||
let rb = AsyncHeapRb::<[f32; 2]>::new(rb_len);
|
||||
let (send_rb, rx) = rb.split();
|
||||
|
|
Loading…
Reference in a new issue