adds docs for BufferSize and fixes buffersize bugs in emscripten and alsa

This commit is contained in:
JoshuaBatty 2020-07-14 13:15:32 +02:00
parent 271cc34f3f
commit 4ce12a69b9
3 changed files with 8 additions and 8 deletions

View file

@ -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,
);
}
}