mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
When bouncing, use a TAG rather than changing the region name.
This commit is contained in:
parent
14c9245606
commit
16c2df08ae
1 changed files with 2 additions and 1 deletions
|
|
@ -5731,7 +5731,7 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
legal_playlist_name = "(bounce)" + legalize_for_path (playlist->name());
|
legal_playlist_name = legalize_for_path (playlist->name());
|
||||||
|
|
||||||
for (uint32_t chan_n = 0; chan_n < diskstream_channels.n(data_type); ++chan_n) {
|
for (uint32_t chan_n = 0; chan_n < diskstream_channels.n(data_type); ++chan_n) {
|
||||||
|
|
||||||
|
|
@ -5914,6 +5914,7 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
|
||||||
plist.add (Properties::whole_file, true);
|
plist.add (Properties::whole_file, true);
|
||||||
plist.add (Properties::length, srcs.front()->length(srcs.front()->natural_position()));
|
plist.add (Properties::length, srcs.front()->length(srcs.front()->natural_position()));
|
||||||
plist.add (Properties::name, region_name_from_path (srcs.front()->name(), true));
|
plist.add (Properties::name, region_name_from_path (srcs.front()->name(), true));
|
||||||
|
plist.add (Properties::tags, "(bounce)");
|
||||||
|
|
||||||
result = RegionFactory::create (srcs, plist, true);
|
result = RegionFactory::create (srcs, plist, true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue