summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/auditioner.h2
-rw-r--r--libs/ardour/auditioner.cc20
2 files changed, 0 insertions, 22 deletions
diff --git a/libs/ardour/ardour/auditioner.h b/libs/ardour/ardour/auditioner.h
index fc52c7e6f0..ffc0ddb331 100644
--- a/libs/ardour/ardour/auditioner.h
+++ b/libs/ardour/ardour/auditioner.h
@@ -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;
diff --git a/libs/ardour/auditioner.cc b/libs/ardour/auditioner.cc
index 98d4f6c92a..b10ac2ca44 100644
--- a/libs/ardour/auditioner.cc
+++ b/libs/ardour/auditioner.cc
@@ -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)
{