summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/coreaudiosource.cc3
-rw-r--r--libs/ardour/sndfilesource.cc12
-rw-r--r--libs/ardour/source_factory.cc1
3 files changed, 1 insertions, 15 deletions
diff --git a/libs/ardour/coreaudiosource.cc b/libs/ardour/coreaudiosource.cc
index c1a5e07c80..ee1e6df702 100644
--- a/libs/ardour/coreaudiosource.cc
+++ b/libs/ardour/coreaudiosource.cc
@@ -99,9 +99,6 @@ CoreAudioSource::init_cafile ()
af.SetClientFormat (client_format);
} catch (CAXException& cax) {
-
- error << string_compose(_("CoreAudioSource: cannot open file \"%1\" for %2"),
- _path, (writable() ? "read+write" : "reading")) << endmsg;
throw failed_constructor ();
}
}
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc
index a14f0e1c72..f878796198 100644
--- a/libs/ardour/sndfilesource.cc
+++ b/libs/ardour/sndfilesource.cc
@@ -405,18 +405,6 @@ SndFileSource::open ()
}
if (_sndfile == 0) {
- char errbuf[1024];
- sf_error_str (0, errbuf, sizeof (errbuf) - 1);
-#ifndef HAVE_COREAUDIO
- /* if we have CoreAudio, we will be falling back to that if libsndfile fails,
- so we don't want to see this message.
- */
-
- cerr << "failed to open " << _path << " with name " << _name << endl;
-
- error << string_compose(_("SndFileSource: cannot open file \"%1\" for %2 (%3)"),
- _path, (writable() ? "read+write" : "reading"), errbuf) << endmsg;
-#endif
return -1;
}
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) {