summaryrefslogtreecommitdiff
path: root/libs/ardour/audio_track.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-16 23:21:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-16 23:21:53 +0000
commit25ccf0f5807cc48c8c5d35f1a352e66397ade7bc (patch)
tree3b8896dc5f75abb086da827e865e7f39caa207fa /libs/ardour/audio_track.cc
parent95e4f7558b6d9616ef2180682a8c203c2226261b (diff)
tentative fix for crash on roll
git-svn-id: svn://localhost/ardour2/branches/3.0@6101 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_track.cc')
-rw-r--r--libs/ardour/audio_track.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc
index 2c38e37dee..e2101479fe 100644
--- a/libs/ardour/audio_track.cc
+++ b/libs/ardour/audio_track.cc
@@ -523,7 +523,7 @@ AudioTrack::roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame,
/* copy the diskstream data to all output buffers */
- size_t limit = n_process_buffers().n_audio();
+ size_t limit = _input->n_ports().n_audio();
BufferSet& bufs = _session.get_scratch_buffers ();
const size_t blimit = bufs.count().n_audio();