1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-25 17:08:07 +02:00

EXPERIMENTAL_MIDI_STRETCHING off for 2.2.0

This commit is contained in:
James Crook 2017-08-17 17:24:14 +01:00
parent fc25ce093f
commit 69b77a8034
2 changed files with 9 additions and 1 deletions

View File

@ -127,11 +127,17 @@
// Paul Licameli (PRL) 29 Nov 2014
// #define EXPERIMENTAL_IMPROVED_SEEKING
#ifdef USE_MIDI
// RBD, 1 Sep 2008
// Enables MIDI Output of NoteTrack (MIDI) data during playback
// USE_MIDI must be defined in order for EXPERIMENTAL_MIDI_OUT to work
#ifdef USE_MIDI
#define EXPERIMENTAL_MIDI_OUT
// JKC, 17 Aug 2017
// Enables the MIDI note stretching feature, which currently
// a) Is broken on Linux (Bug 1646)
// b) Crashes with Sync-Lock (Bug 1719)
// c) Needs UI design review.
//#define EXPERIMENTAL_MIDI_STRETCHING
#endif
// USE_MIDI must be defined in order for EXPERIMENTAL_SCOREALIGN to work

View File

@ -30,10 +30,12 @@ std::vector<UIHandlePtr> NoteTrack::DetailedHitTest
UIHandlePtr result;
std::vector<UIHandlePtr> results;
#ifdef USE_MIDI
#ifdef EXPERIMENTAL_MIDI_STRETCHING
result = StretchHandle::HitTest(
mStretchHandle, state, pProject, Pointer<NoteTrack>(this) );
if (result)
results.push_back(result);
#endif
#endif
return results;