mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-02 15:13:50 +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:
@@ -3,6 +3,7 @@
|
|||||||
@brief headerless file injects method definitions for time shifting of NoteTrack
|
@brief headerless file injects method definitions for time shifting of NoteTrack
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef USE_MIDI
|
||||||
#include "../../../ui/TimeShiftHandle.h"
|
#include "../../../ui/TimeShiftHandle.h"
|
||||||
#include "../../../../NoteTrack.h"
|
#include "../../../../NoteTrack.h"
|
||||||
#include "../../../../ViewInfo.h"
|
#include "../../../../ViewInfo.h"
|
||||||
@@ -60,3 +61,4 @@ template<> template<> auto MakeNoteTrackShifter::Implementation() -> Function {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
static MakeNoteTrackShifter registerMakeNoteTrackShifter;
|
static MakeNoteTrackShifter registerMakeNoteTrackShifter;
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user