diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-30 18:40:36 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-30 18:40:36 +0000 |
commit | a1a86992eae230ab92926feb7134889e1d77c38b (patch) | |
tree | bc3bbabe4b9029c2edd9d5589877f9d73fac5388 /libs/ardour/audio_diskstream.cc | |
parent | 120e5d6e6805fd608151a6056b8a6c06ed9f32a7 (diff) |
minor tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@7716 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 71e57e1dd7..f59997a933 100644 --- a/libs/ardour/audio_diskstream.cc +++ b/libs/ardour/audio_diskstream.cc @@ -466,7 +466,9 @@ AudioDiskstream::process (nframes_t transport_frame, nframes_t nframes, bool can */ - // Safeguard against situations where process() goes haywire when autopunching and last_recordable_frame < first_recordable_frame + // Safeguard against situations where process() goes haywire when autopunching + // and last_recordable_frame < first_recordable_frame + if (last_recordable_frame < first_recordable_frame) { last_recordable_frame = max_frames; } |