tentative fix for crash on roll
git-svn-id: svn://localhost/ardour2/branches/3.0@6101 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
95e4f7558b
commit
25ccf0f580
@ -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();
|
||||
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "ardour/midi_port.h"
|
||||
#include "ardour/session.h"
|
||||
#include "ardour/cycle_timer.h"
|
||||
#include "ardour/panner.h"
|
||||
#include "ardour/buffer_set.h"
|
||||
#include "ardour/meter.h"
|
||||
#include "ardour/amp.h"
|
||||
|
@ -1376,6 +1376,7 @@ Route::configure_processors_unlocked (ProcessorStreams* err)
|
||||
|
||||
_in_configure_processors = true;
|
||||
|
||||
|
||||
// Check each processor in order to see if we can configure as requested
|
||||
ChanCount in = _input->n_ports ();
|
||||
ChanCount out;
|
||||
@ -1406,11 +1407,6 @@ Route::configure_processors_unlocked (ProcessorStreams* err)
|
||||
out = c->second;
|
||||
}
|
||||
|
||||
// Ensure route outputs match last processor's outputs
|
||||
if (out != _output->n_ports ()) {
|
||||
_output->ensure_io (out, false, this);
|
||||
}
|
||||
|
||||
_in_configure_processors = false;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user