Assign a take_id to Bounced regions, so a multitrack bounce can be sorted/recognized in a list
This commit is contained in:
parent
af4ab3708b
commit
a8c29991d6
@ -39,6 +39,7 @@
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <glibmm/datetime.h>
|
||||
#include <glibmm/threads.h>
|
||||
#include <glibmm/miscutils.h>
|
||||
#include <glibmm/fileutils.h>
|
||||
@ -5759,6 +5760,11 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
|
||||
|
||||
source->set_captured_for(track.name());
|
||||
|
||||
time_t now;
|
||||
time (&now);
|
||||
Glib::DateTime tm (Glib::DateTime::create_now_local (now));
|
||||
source->set_take_id (tm.format ("%F %H.%M.%S"));
|
||||
|
||||
srcs.push_back (source);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user