13
0

remove Auditioner::prepare_playlist() - not used

This commit is contained in:
Paul Davis 2017-07-25 11:28:19 -04:00
parent cceb29f536
commit a7431e21db
2 changed files with 0 additions and 22 deletions

View File

@ -50,8 +50,6 @@ class LIBARDOUR_API Auditioner : public Track
void seek_to_frame (frameoffset_t pos) { if (_seek_frame < 0 && !_seeking) { _seek_frame = pos; }}
void seek_to_percent (float const pos) { if (_seek_frame < 0 && !_seeking) { _seek_frame = floorf(length * pos / 100.0); }}
ARDOUR::AudioPlaylist& prepare_playlist ();
int play_audition (framecnt_t nframes);
MonitorState monitoring_state () const;

View File

@ -255,26 +255,6 @@ Auditioner::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram
return 0;
}
AudioPlaylist&
Auditioner::prepare_playlist ()
{
// used by CrossfadeEditor::audition()
_midi_audition = false;
if (_synth_added) {
remove_processor(asynth);
_synth_added = false;
}
// FIXME auditioner is still audio-only
boost::shared_ptr<AudioPlaylist> apl = boost::dynamic_pointer_cast<AudioPlaylist>(playlist());
assert(apl);
apl->clear ();
return *apl;
}
void
Auditioner::audition_region (boost::shared_ptr<Region> region)
{