-void
-Auditioner::audition_current_playlist ()
-{
- if (g_atomic_int_get (&_active)) {
- /* don't go via session for this, because we are going
- to remain active.
- */
- cancel_audition ();
- }
-
- Glib::Mutex::Lock lm (lock);
- _diskstream->seek (0);
- length = _diskstream->playlist()->get_maximum_extent();
- current_frame = 0;
-
- /* force a panner reset now that we have all channels */
-
- _main_outs->panner()->reset (n_outputs().n_audio(), _diskstream->n_channels().n_audio());
-
- g_atomic_int_set (&_active, 1);
-}
-