remove midi_interpolation member of DiskIOProcessor (was used only to call ::distance() method
This commit is contained in:
parent
54f9edaf4b
commit
a2703ea503
@ -192,7 +192,6 @@ class LIBARDOUR_API DiskIOProcessor : public Processor
|
||||
MidiRingBuffer<samplepos_t>* _midi_buf;
|
||||
gint _samples_written_to_ringbuffer;
|
||||
gint _samples_read_from_ringbuffer;
|
||||
CubicMidiInterpolation midi_interpolation;
|
||||
|
||||
static void get_location_times (const Location* location, samplepos_t* start, samplepos_t* end, samplepos_t* length);
|
||||
};
|
||||
|
@ -61,7 +61,6 @@ DiskIOProcessor::DiskIOProcessor (Session& s, string const & str, Flag f)
|
||||
, _samples_written_to_ringbuffer (0)
|
||||
, _samples_read_from_ringbuffer (0)
|
||||
{
|
||||
midi_interpolation.add_channel_to (0,0);
|
||||
set_display_to_user (false);
|
||||
}
|
||||
|
||||
@ -167,7 +166,6 @@ DiskIOProcessor::configure_io (ChanCount in, ChanCount out)
|
||||
if (in.n_midi() > 0 && !_midi_buf) {
|
||||
const size_t size = _session.butler()->midi_diskstream_buffer_size();
|
||||
_midi_buf = new MidiRingBuffer<samplepos_t>(size);
|
||||
midi_interpolation.add_channel_to (0,0);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user