13
0

T: no auditioning

This commit is contained in:
Paul Davis 2024-05-08 17:23:19 -06:00
parent 5cfc2a939e
commit 82d786f506

View File

@ -5533,6 +5533,9 @@ Session::remove_playlist (std::weak_ptr<Playlist> weak_playlist)
void
Session::set_audition (std::shared_ptr<Region> r)
{
if (Profile->get_livetrax()) {
return;
}
pending_audition_region = r;
add_post_transport_work (PostTransportAudition);
_butler->schedule_transport_work ();
@ -5541,6 +5544,9 @@ Session::set_audition (std::shared_ptr<Region> r)
void
Session::audition_playlist ()
{
if (Profile->get_livetrax()) {
return;
}
SessionEvent* ev = new SessionEvent (SessionEvent::Audition, SessionEvent::Add, SessionEvent::Immediate, 0, 0.0);
ev->region.reset ();
queue_event (ev);