pipewire/pipewire-jack/src
Wim Taymans 7a9dfc188a jack: improve midi buffer handling
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.
2024-03-12 16:41:59 +01:00
..
control.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
dummy.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
export.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build pipewire-jack: Disable LD_LIBRARY_PATH when libjack is in libdir 2023-09-15 08:49:36 +00:00
metadata.c Jack: Added missing lock to jack API call 2024-02-08 10:20:12 +01:00
net.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
pipewire-jack-extensions.h jack: add jack_set_sample_rate() extension 2023-10-24 11:08:49 +02:00
pipewire-jack.c jack: improve midi buffer handling 2024-03-12 16:41:59 +01:00
pw-jack.in pipewire-jack: Disable LD_LIBRARY_PATH when libjack is in libdir 2023-09-15 08:49:36 +00:00
ringbuffer.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
statistics.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
uuid.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00