diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-17 14:43:46 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-17 14:43:46 +0000 |
commit | 7d2f8306fcf8ea6cd4faffbc5c6b38e43d7e8bd4 (patch) | |
tree | 9c81fc16d11dd207068b32f0b69234c1ee8199fe | |
parent | ea6e0a3778883789fcdd99e09f22bcd001417456 (diff) |
maybe fix crash related to thread-private buffers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2468 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/sndfilesource.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 9700f7f571..ffd9c8c752 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -916,14 +916,11 @@ SndFileSource::get_interleave_buffer (nframes_t size) if ((ssb = thread_interleave_buffer.get()) == 0) { ssb = new SizedSampleBuffer (size); thread_interleave_buffer.set (ssb); - cerr << pthread_self() << " new IB of " << size << endl; } if (ssb->size < size) { - delete ssb; ssb = new SizedSampleBuffer (size); thread_interleave_buffer.set (ssb); - cerr << pthread_self() << " resized IB to " << size << endl; } return ssb->buf; |