From a1a86992eae230ab92926feb7134889e1d77c38b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 30 Aug 2010 18:40:36 +0000 Subject: minor tweaks git-svn-id: svn://localhost/ardour2/branches/3.0@7716 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audio_diskstream.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/ardour/audio_diskstream.cc') 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; } -- cgit v1.2.3