1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
JUCE/modules
reuk 281c56f2f9
MidiFile: Fix invalid comparator argument to stable_sort
Previously, stable_sort was used to reorder note-ons and note-offs, with
the intention that note-offs would always be ordered before note-ons
with the same time stamp. However, stable_sort requires the comparator
to be a strict-weak ordering, which was not the case for the previous
implementation.

Additionally, the old implementation could unnecessarily reorder events.
Note ons and offs only need to be reordered if the note numbers and
channels match. It's fine for a note-on to be ordered before a note-off
if the note itself is different.

The new implementation only uses stable_sort to order events by
time-stamp. Then, for each range of events with matching timestamps, the
first note-on event will be swapped with the last following note-off
event with matching channel/number.
2024-07-31 19:36:51 +01:00
..
juce_analytics Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_animation Fix some Doxygen docstrings 2024-06-12 09:35:32 +01:00
juce_audio_basics MidiFile: Fix invalid comparator argument to stable_sort 2024-07-31 19:36:51 +01:00
juce_audio_devices Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_audio_formats Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_audio_plugin_client VST3 Client: Add support for fetching IRunLoop from host context 2024-07-29 16:11:59 +01:00
juce_audio_processors VST3 Host: Supply an IRunLoop from the host context 2024-07-29 16:11:59 +01:00
juce_audio_utils Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_box2d Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_core DynamicObject: Make virtual functions non-virtual 2024-07-29 16:09:53 +01:00
juce_cryptography Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_data_structures Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_dsp Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_events Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_graphics Harfbuzz: Silence clang overflow warning 2024-07-29 16:11:55 +01:00
juce_gui_basics Windows: Throttle VBlankThread when the display is off 2024-07-31 18:15:54 +02:00
juce_gui_extra Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_midi_ci Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_opengl Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_osc Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_product_unlocking Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
juce_video Bump version number to 8.0.1 2024-07-29 12:43:19 +01:00
CMakeLists.txt Animation: Add juce_animation module 2024-04-16 17:43:21 +01:00