13
0

AU: Error popup now only indicates indexing issues

This commit is contained in:
Robin Gareus 2021-06-05 23:43:26 +02:00
parent d4212da693
commit d603124743
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -644,14 +644,13 @@ the audio backend and save the session."), PROGRAM_NAME);
void void
ARDOUR_UI::post_engine () ARDOUR_UI::post_engine ()
{ {
/* Things to be done once (and once ONLY) after we have a backend running in the AudioEngine /* Things to be done once (and once ONLY) after we have a backend running in the AudioEngine */
*/
#ifdef AUDIOUNIT_SUPPORT #ifdef AUDIOUNIT_SUPPORT
std::string au_msg; string aucrsh = Glib::build_filename (ARDOUR::user_cache_directory(), "au_crash");
if (AUPluginInfo::au_get_crashlog(au_msg)) { if (Glib::file_test (aucrsh, Glib::FILE_TEST_EXISTS)) {
popup_error(_("Audio Unit Plugin Scan Failed. Automatic AU scanning has been disabled. Please see the log window for further details.")); popup_error (_("Indexing Audio Unit Plugin Failed.\nAutomatic AU scanning has been disabled\n(check with 'auval', then re-enable scanning the in preferences)."));
error << _("Audio Unit Plugin Scan Failed:") << endmsg; ::g_unlink (aucrsh.c_str());
info << au_msg << endmsg;
} }
#endif #endif