1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +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

@@ -276,6 +276,7 @@ static Importer::RegisteredImportPlugin registered{
std::make_unique< LOFImportPlugin >()
};
#ifdef USE_MIDI
// return null on failure; if success, return the given project, or a NEW
// one, if the given was null; create no NEW project if failure
static AudacityProject *DoImportMIDIProject(
@@ -294,6 +295,7 @@ static AudacityProject *DoImportMIDIProject(
else
return nullptr;
}
#endif
/** @brief Processes a single line from a LOF text file, doing whatever is
* indicated on the line.