1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Bug 290 - (Mac) LAME: Audacity looks for LAME in a restricted folder that Mac no longer supports

This commit is contained in:
Leland Lucius 2017-03-03 19:27:17 +00:00 committed by James Crook
parent 2efd4ee9ca
commit 0efe931df2

View File

@ -1451,7 +1451,21 @@ wxString MP3Exporter::GetLibraryTypeString()
wxString MP3Exporter::GetLibraryPath()
{
return wxT("/usr/local/lib/audacity");
wxString path;
path = wxT("/Library/Application Support/audacity/libs");
if (wxFileExists(path + wxT("/") + GetLibraryName()))
{
return path;
}
path = wxT("/usr/local/lib/audacity");
if (wxFileExists(path + wxT("/") + GetLibraryName()))
{
return path;
}
return wxT("/Library/Application Support/audacity/libs");
}
wxString MP3Exporter::GetLibraryName()