adds docs for BufferSize and fixes buffersize bugs in emscripten and alsa
This commit is contained in:
parent
271cc34f3f
commit
4ce12a69b9
3 changed files with 8 additions and 8 deletions
|
|
@ -334,7 +334,7 @@ fn audio_callback_fn<D, E>(
|
|||
// and there may be underflows
|
||||
set_timeout(
|
||||
|| audio_callback_fn::<D, E>(user_data_ptr, config, sample_format, buffer_size_frames),
|
||||
330,
|
||||
buffer_size_frames * 1000 / sample_rate,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue