summaryrefslogtreecommitdiff
path: root/libs/ardour/sndfilesource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r--libs/ardour/sndfilesource.cc12
1 files changed, 0 insertions, 12 deletions
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;
}