With rust-jack 0.7, the buffer_size callback is moved to ProcessHandler. This reflects how it is actually called by jack: it is called synchronously on the process thread, but it is allowed to perform non-real-time-safe operations. In CPAL, this means that it is fine to reallocate the temporary interlacing buffers when buffer size changes. This removes the need for buffer splitting on the output stream type, and prevents panics when buffer size is made larger than initially on the input stream type. (for some reason, buffer splitting was not implemented for input previously) |
||
|---|---|---|
| .. | ||
| alsa | ||
| asio | ||
| coreaudio | ||
| emscripten | ||
| jack | ||
| null | ||
| oboe | ||
| wasapi | ||
| webaudio | ||
| mod.rs | ||