From c7c40f6f3df85114a59092efa8ad879b3e90d822 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 7 Dec 2019 15:09:20 +0100 Subject: Remove #ifdef'ed format-specific error-log messages With inclusion of Mp3FileSource, this would get tricky. On MacOS, the SndFileSource's sf_error_str message is never displayed, anyway, also calling methods all handle failed-constructor. So error-log is less important. --- libs/ardour/source_factory.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/source_factory.cc') diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc index c783544eb1..051f7c063c 100644 --- a/libs/ardour/source_factory.cc +++ b/libs/ardour/source_factory.cc @@ -295,6 +295,7 @@ SourceFactory::createExternal (DataType type, Session& s, const string& path, // eh? } + error << string_compose(_("AudioFileSource: cannot open file \"%1\" "), path) << endmsg; throw failed_constructor (); } else if (type == DataType::MIDI) { -- cgit v1.2.3