mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
nframes in the midi buffer should be set to the current cycle buffer_size and it should restrict the timestamps that can be set on the midi events. Keep the last max_frames around in a globals so that we can use it to set the midi buffer to the default size. Return NULL when we do jack_port_get_buffer() with larger nframes than the current cycle buffer_size, just like JACK. Otherwise this could result in a crash when we try to mix more than the available buffer space. Check and reset the midi buffer better. Check if the MAGIC is still ok. jack_midi_reset_buffer() should restore the MAGIC and other values. |
||
|---|---|---|
| .. | ||
| examples | ||
| jack | ||
| src | ||
| meson.build | ||