summaryrefslogtreecommitdiff
path: root/libs/ardour/sndfilesource.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-02-15 16:07:45 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-02-15 16:07:45 +0000
commit7e277f96d78f56073cd2021dc1c0305cdabd3d90 (patch)
tree22fc46ba69cf57d2420644b0f3cff63480dfdafa /libs/ardour/sndfilesource.cc
parentb8a6f94325c46a4129922ad3dbb61ca30761299b (diff)
fix reverse play buffer refilling; turn on Blink signal again
git-svn-id: svn://localhost/ardour2/trunk@1464 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r--libs/ardour/sndfilesource.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc
index 629b3e4158..296f7471ad 100644
--- a/libs/ardour/sndfilesource.cc
+++ b/libs/ardour/sndfilesource.cc
@@ -388,6 +388,8 @@ SndFileSource::nondestructive_write_unlocked (Sample *data, nframes_t cnt)
nframes_t oldlen;
int32_t frame_pos = _length;
+
+ cerr << _name << " write " << cnt << " floats to " << frame_pos << endl;
if (write_float (data, frame_pos, cnt) != cnt) {
return 0;
@@ -396,6 +398,8 @@ SndFileSource::nondestructive_write_unlocked (Sample *data, nframes_t cnt)
oldlen = _length;
update_length (oldlen, cnt);
+ cerr << "\t length is now " << _length << endl;
+
if (_build_peakfiles) {
PeakBuildRecord *pbr = 0;