summaryrefslogtreecommitdiff
path: root/libs/ardour/source_factory.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-07 15:09:20 +0100
committerRobin Gareus <robin@gareus.org>2019-12-07 15:38:53 +0100
commitc7c40f6f3df85114a59092efa8ad879b3e90d822 (patch)
treed913a30aa15a9a2e709c2df94df1f0f5f7988e58 /libs/ardour/source_factory.cc
parent9040fd46709ed27ff89562e5f8517fca8e097600 (diff)
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.
Diffstat (limited to 'libs/ardour/source_factory.cc')
-rw-r--r--libs/ardour/source_factory.cc1
1 files changed, 1 insertions, 0 deletions
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) {