summaryrefslogtreecommitdiff
path: root/libs/ardour/sndfilesource.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-05-21 11:07:41 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-05-21 11:07:41 +0000
commitc7e9102437c6c10b0c45696ef9f0b0f03fd787b1 (patch)
tree1fad7b1aef3b584b36752c0c9fc6ceb5de714fcf /libs/ardour/sndfilesource.cc
parent23a615a6dbf84a47ca3dbdb2b1f4a382cf6c0820 (diff)
a bit more debug on info when we fail to read from a SndFileSource
git-svn-id: svn://localhost/ardour2/branches/3.0@12357 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r--libs/ardour/sndfilesource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc
index 1f499bc61e..4353c50eed 100644
--- a/libs/ardour/sndfilesource.cc
+++ b/libs/ardour/sndfilesource.cc
@@ -339,7 +339,7 @@ SndFileSource::read_unlocked (Sample *dst, framepos_t start, framecnt_t cnt) con
if (ret != file_cnt) {
char errbuf[256];
sf_error_str (0, errbuf, sizeof (errbuf) - 1);
- error << string_compose(_("SndFileSource: @ %1 could not read %2 within %3 (%4) (len = %5)"), start, file_cnt, _name.val().substr (1), errbuf, _length) << endl;
+ error << string_compose(_("SndFileSource: @ %1 could not read %2 within %3 (%4) (len = %5, ret was %6)"), start, file_cnt, _name.val().substr (1), errbuf, _length, ret) << endl;
}
_descriptor->release ();
return ret;