Fix YASNAFU (amend fa319ffda2), midi audition/playback

The condition is NO playlist pending. This fixes MIDI audition
and perhaps a few other MIDI playback edge-cases.
This commit is contained in:
Robin Gareus
2025-12-11 05:11:29 +01:00
parent 634e97b1fd
commit fca4083e12

View File

@@ -468,7 +468,7 @@ midi:
/* MIDI data handling */
const bool no_playlist_modification_pending = !(_pending_overwrite.load () & PlaylistModified);
const bool no_playlist_modification_pending = 0 == (_pending_overwrite.load () & PlaylistModified);
if (bufs.count ().n_midi ()) {
MidiBuffer& dst (bufs.get_midi (0));