mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02: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:
parent
5e958083e6
commit
3951617306
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user