13
0

remove midi_interpolation member of DiskIOProcessor (was used only to call ::distance() method

This commit is contained in:
Paul Davis 2017-10-02 12:40:15 -04:00
parent 54f9edaf4b
commit a2703ea503
2 changed files with 0 additions and 3 deletions

View File

@ -192,7 +192,6 @@ class LIBARDOUR_API DiskIOProcessor : public Processor
MidiRingBuffer<samplepos_t>* _midi_buf; MidiRingBuffer<samplepos_t>* _midi_buf;
gint _samples_written_to_ringbuffer; gint _samples_written_to_ringbuffer;
gint _samples_read_from_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); static void get_location_times (const Location* location, samplepos_t* start, samplepos_t* end, samplepos_t* length);
}; };

View File

@ -61,7 +61,6 @@ DiskIOProcessor::DiskIOProcessor (Session& s, string const & str, Flag f)
, _samples_written_to_ringbuffer (0) , _samples_written_to_ringbuffer (0)
, _samples_read_from_ringbuffer (0) , _samples_read_from_ringbuffer (0)
{ {
midi_interpolation.add_channel_to (0,0);
set_display_to_user (false); set_display_to_user (false);
} }
@ -167,7 +166,6 @@ DiskIOProcessor::configure_io (ChanCount in, ChanCount out)
if (in.n_midi() > 0 && !_midi_buf) { if (in.n_midi() > 0 && !_midi_buf) {
const size_t size = _session.butler()->midi_diskstream_buffer_size(); const size_t size = _session.butler()->midi_diskstream_buffer_size();
_midi_buf = new MidiRingBuffer<samplepos_t>(size); _midi_buf = new MidiRingBuffer<samplepos_t>(size);
midi_interpolation.add_channel_to (0,0);
changed = true; changed = true;
} }