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:
parent
2efd4ee9ca
commit
0efe931df2
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user