| 1751 | } |
| 1752 | |
| 1753 | bool ExportMP3::CheckFileName(wxFileName & WXUNUSED(filename), int WXUNUSED(format)) const |
| 1754 | { |
| 1755 | #ifndef DISABLE_DYNAMIC_LOADING_LAME |
| 1756 | MP3Exporter exporter; |
| 1757 | |
| 1758 | if (!exporter.LoadLibrary(wxTheApp->GetTopWindow(), MP3Exporter::Maybe)) { |
| 1759 | BasicUI::ShowMessageBox(XO("Could not open MP3 encoding library!"), |
| 1760 | BasicUI::MessageBoxOptions() |
| 1761 | .IconStyle(BasicUI::Icon::Error) |
| 1762 | .Caption(XO("Error"))); |
| 1763 | gPrefs->Write(wxT("/MP3/MP3LibPath"), wxString(wxT(""))); |
| 1764 | gPrefs->Flush(); |
| 1765 | |
| 1766 | return false; |
| 1767 | } |
| 1768 | #endif // DISABLE_DYNAMIC_LOADING_LAME |
| 1769 | |
| 1770 | return true; |
| 1771 | } |
| 1772 | |
| 1773 | bool MP3ExportProcessor::Initialize(AudacityProject& project, |
| 1774 | const Parameters& parameters, |
nothing calls this directly
no test coverage detected