1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

Fewer inclusions of AudioIO.h and Import.h

This commit is contained in:
Paul Licameli
2019-06-06 12:48:39 -04:00
parent 6f3342a895
commit 0b85251885
18 changed files with 17 additions and 31 deletions

View File

@@ -333,7 +333,7 @@ public:
for (const auto &name : sortednames) {
#ifdef USE_MIDI
if (Importer::IsMidi(name))
if (FileNames::IsMidi(name))
FileActions::DoImportMIDI(mProject, name);
else
#endif
@@ -1292,7 +1292,7 @@ void ProjectManager::OpenFile(const FilePath &fileNameArg, bool addtohistory)
{
#ifdef USE_MIDI
if (Importer::IsMidi(fileName))
if (FileNames::IsMidi(fileName))
FileActions::DoImportMIDI( &project, fileName );
else
#endif