1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

Fix compilation without USE_MIDI

This commit is contained in:
Alexander Tsoy
2019-08-27 19:12:43 +03:00
parent 45ddc8c413
commit 7a91b6c5e9
5 changed files with 10 additions and 10 deletions

View File

@@ -248,8 +248,6 @@ const TCPLines &NoteTrackControls::GetTCPLines() const
return noteTrackTCPLines;
};
#endif
namespace {
#ifdef EXPERIMENTAL_MIDI_OUT
@@ -329,3 +327,5 @@ auto GetDefaultNoteTrackHeight::Implementation() -> Function {
};
}
static GetDefaultNoteTrackHeight registerGetDefaultNoteTrackHeight;
#endif

View File

@@ -396,12 +396,12 @@ UIHandle::Result TimeShiftHandle::Click
ok = false;
else
captureClips = true;
},
#ifdef USE_MIDI
},
[&](NoteTrack *) {
captureClips = true;
}
#endif
}
);
if ( ! ok )