1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-01 14:43:48 +01:00

NoteTrackShifter: Fix build without USE_MIDI

Try to keep PortMIDI/PortSMF optional by wrapping it within USE_MIDI
check like NoteTrack class itself is.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2021-07-23 11:41:01 +03:00
committed by GitHub
parent 5e958083e6
commit 3951617306

View File

@@ -3,6 +3,7 @@
@brief headerless file injects method definitions for time shifting of NoteTrack
*/
#ifdef USE_MIDI
#include "../../../ui/TimeShiftHandle.h"
#include "../../../../NoteTrack.h"
#include "../../../../ViewInfo.h"
@@ -60,3 +61,4 @@ template<> template<> auto MakeNoteTrackShifter::Implementation() -> Function {
};
}
static MakeNoteTrackShifter registerMakeNoteTrackShifter;
#endif