remove Auditioner::prepare_playlist() - not used
This commit is contained in:
parent
cceb29f536
commit
a7431e21db
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user