diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-04-04 21:48:17 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-04-04 21:48:17 +0000 |
commit | 3a40d9ef6b921d2fe2f6f3928d4e849a900cda6d (patch) | |
tree | 39835578d471a2a9e9b5ee538cc24eb2e3a406f8 /libs/ardour/audio_diskstream.cc | |
parent | d043ee396b6b26faa453123374766c39ded0b15c (diff) |
minor tweaks to debug output and comments and header order
git-svn-id: svn://localhost/ardour2/branches/3.0@9285 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_diskstream.cc')
-rw-r--r-- | libs/ardour/audio_diskstream.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/audio_diskstream.cc b/libs/ardour/audio_diskstream.cc index 326efb21c3..2f72dbee5e 100644 --- a/libs/ardour/audio_diskstream.cc +++ b/libs/ardour/audio_diskstream.cc @@ -745,7 +745,9 @@ AudioDiskstream::overwrite_existing_buffers () mixdown_buffer = new Sample[size]; gain_buffer = new float[size]; - /* reduce size so that we can fill the buffer correctly. */ + /* reduce size so that we can fill the buffer correctly (ringbuffers + * can only handle size-1, otherwise they appear to be empty) + */ size--; uint32_t n=0; |