Use the Track name in captured_for property (was processor:playlist which was obtuse)
This commit is contained in:
parent
d98d3f25d8
commit
4f6c71f275
@ -1125,7 +1125,7 @@ DiskWriter::transport_stopped_wallclock (struct tm& when, time_t twhen, bool abo
|
|||||||
if (as) {
|
if (as) {
|
||||||
audio_srcs.push_back (as);
|
audio_srcs.push_back (as);
|
||||||
as->update_header (capture_info.front()->start, when, twhen);
|
as->update_header (capture_info.front()->start, when, twhen);
|
||||||
as->set_captured_for (_name.val());
|
as->set_captured_for (_track->name());
|
||||||
as->mark_immutable ();
|
as->mark_immutable ();
|
||||||
|
|
||||||
Glib::DateTime tm (Glib::DateTime::create_now_local (mktime (&when)));
|
Glib::DateTime tm (Glib::DateTime::create_now_local (mktime (&when)));
|
||||||
@ -1140,6 +1140,7 @@ DiskWriter::transport_stopped_wallclock (struct tm& when, time_t twhen, bool abo
|
|||||||
|
|
||||||
if (_midi_write_source) {
|
if (_midi_write_source) {
|
||||||
midi_srcs.push_back (_midi_write_source);
|
midi_srcs.push_back (_midi_write_source);
|
||||||
|
_midi_write_source->set_captured_for (_track->name());
|
||||||
}
|
}
|
||||||
|
|
||||||
(*chan)->write_source->stamp (twhen);
|
(*chan)->write_source->stamp (twhen);
|
||||||
|
@ -5757,6 +5757,8 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
source->set_captured_for(track.name());
|
||||||
|
|
||||||
srcs.push_back (source);
|
srcs.push_back (source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user