From 3ec845b1ef1184719de2160bf572b667c9aa4bda Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 29 Oct 2019 21:20:11 -0600 Subject: [PATCH] remove unused API --- libs/ardour/ardour/disk_reader.h | 1 - libs/ardour/disk_reader.cc | 7 ------- 2 files changed, 8 deletions(-) diff --git a/libs/ardour/ardour/disk_reader.h b/libs/ardour/ardour/disk_reader.h index 80343a2029..2ceeea1190 100644 --- a/libs/ardour/ardour/disk_reader.h +++ b/libs/ardour/ardour/disk_reader.h @@ -176,7 +176,6 @@ private: float* gain_buffer, samplepos_t& start, samplecnt_t cnt, int channel, bool reversed); - int midi_read (samplepos_t& start, samplecnt_t cnt, bool reversed); static Sample* _sum_buffer; static Sample* _mixdown_buffer; diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index cb338f803e..0df940a13b 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -1173,13 +1173,6 @@ DiskReader::get_midi_playback (MidiBuffer& dst, samplepos_t start_sample, sample #endif } -/** @a start is set to the new sample position (TIME) read up to */ -int -DiskReader::midi_read (samplepos_t& start, samplecnt_t dur, bool reversed) -{ - return 0; -} - int DiskReader::refill_midi () {