Commit Graph

66 Commits

Author SHA1 Message Date
Robin Gareus 2c858deae4
Allow to stem-export Surround Master 2024-02-29 16:15:50 +01:00
Robin Gareus 9cc966120c
Consolidate internal bus checks (2/2) 2024-01-06 20:21:54 +01:00
Paul Davis b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Robin Gareus b421cd26bb
Export Dialog: correctly init export channels
The state has to be pushed to the manager during initialization,
otherwise channel_config remains unset.

This fixes an issue with files using the same filename
(missing channel name) during stem export.
2023-02-04 00:24:07 +01:00
Robin Gareus e739191ae2
Display last export channel state 2022-05-16 04:54:18 +02:00
Robin Gareus 5d590a1ca7
List MIDI tracks in the Stem-Export Channel Selector 2022-05-16 04:54:18 +02:00
Robin Gareus 8a927cc522
Only list tracks with audio-ports when exporting audio files 2022-05-15 21:48:28 +02:00
Mads Kiilerich 2aa72891f3
gtkmm: use ALIGN_START instead of deprecated Gtk::AlignmentEnum::ALIGN_LEFT 2022-04-08 21:11:06 +02:00
Robin Gareus c1b72a289f
Add warning if export truncates the channel-count 2020-05-31 19:39:16 +02:00
Robin Gareus 82d7d85192
Increase max export channel count to 32 for default export
Stem Export is not affected. This limitation is only for the
channel matrix GUI, when assigning master-bus channels to
export channels.
2020-05-31 19:39:13 +02:00
Robin Gareus 3318758855
Fix crash on Session Export when master-bus has too many channels 2020-05-31 19:39:10 +02:00
Robin Gareus fc65097686
Remove region-output export (GUI)
This use-case is better served via stem-export.

This export mode never worked correctly when latent plugins
are present on the track. or when realtime export was chosen.

This used to call
  track.export_stuff() -> bounce_process()
periodically in small chunks from freewheeling callback,
which is no longer functional.
2020-03-06 03:28:41 +01:00
Robin Gareus e6ab652e74
Stem-export: pre-select selected tracks/busses 2019-10-07 15:19:36 +02:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus 3506600270
Refine Stem-Export selection options
Allow to exclude muted, or hidden tracks from stem-export
selection actions.
2019-07-19 02:14:09 +02:00
Robin Gareus 31815b5f26
NO-OP: whitespace
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
Len Ovens 0140b24248 Change get_routes to get_routelist where appropriate. 2018-11-07 17:00:16 -08:00
Robin Gareus e36aa9fab7 Include Track-number with stem-exports, if track-numbers are present. 2018-10-02 23:28:44 +02:00
Thomas Brand 63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +02:00
Robin Gareus 1d28665f86 Use Stripable::Sorter in GUI consistently. 2017-06-17 04:36:39 +02:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Robin Gareus 065d9434b9 fix stem-export of no-input busses/tracks 2016-07-13 04:59:26 +02:00
Paul Davis 4b730ca645 Use generic sorter. 2016-06-10 13:57:19 -04:00
Paul Davis 260058a4a9 move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
Paul Davis e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
Robin Gareus 9678be9b6a fix clang compile 2016-05-26 01:52:34 +02:00
Robin Gareus 925501c851 don't clear export-channel selection when switching presets 2016-05-25 13:53:21 +02:00
Robin Gareus 53a9751532 fix processed region export (track output) 2016-03-04 17:01:28 +01:00
Ben Loftis 507006a9a6 sort the Stem Export route list 2015-08-04 15:33:44 -05:00
Ben Loftis 3cbd73de49 (hopefully) less ambiguous wording of processed stem exports. Update the info text when checkbox state is changed 2015-08-04 14:49:46 -05:00
Colin Fletcher 88b0e0cd0b Update export config on stem export select tracks/busses/none
Call update_config() after selecting/deselecting all tracks/busses so that
the warning about 'No channels have been selected' is shown/hidden
appropriately.
2015-06-08 20:07:52 +01:00
Colin Fletcher ecd37a5c2f Fix tiny typo in PortExportChannelSelector error text 2015-06-08 14:42:24 +01:00
Colin Fletcher 54caccf159 Don't select any routes for stem export by default
Now that there are 'select all tracks/busses' buttons, it makes sense to me
that stem export should start off with no routes selected, rather than all.

Maybe stem export should by default select routes that are selected in the
editor, but that's a task for another time.
2015-06-08 14:42:24 +01:00
Colin Fletcher b7f799b7b2 Exclude inactive tracks & busses from stem export list
The exported file is silent, when choosing to export either region contents or
track outputs, so there seems no point in making such routes available for stem
export at all.

Perhaps there's an arguable use case for enabling stem export of inactive
tracks, but I can't see that it's worth worrying about for now.
2015-06-08 11:17:55 +01:00
Colin Fletcher 8b3c729f26 Add 'Select tracks/busses' & 'Deselect all' buttons to stem export
Add buttons to to select all tracks, select all busses and deselect all to
the stem export channel selector.
2015-06-08 11:17:55 +01:00
nick_m 5b74a227c8 Port export usability tweaks.
Port combo didn't register the displayed port until focus changed.
Add a separate column for track/bus name and let it take available space.
2015-04-05 21:43:49 +10:00
nick_m 8d77dc8087 Amend 2c28a05 2015-04-05 02:40:37 +11:00
nick_m 2c28a053b4 Sort stem and port export dialogs by route order key.
Also use separate column for checkbox and track name to improve layout.
2015-04-04 23:20:15 +11:00
Colin Fletcher ebd00236f8 Export dialogue visual re-arrangement
Make the export dialogue into a tabbed notebook with three tabs: "File
Format", "Timespan", and "Channels"/"Source".
2013-10-07 10:48:48 +01:00
Robin Gareus ee426ca223 fix crash on export if no master bus is present in the session 2013-05-06 00:15:48 +02:00
Sakari Bergen 010a75d389 Add option to export track output to stem export dialog 2013-03-24 21:53:34 +02:00
Paul Davis 9884773eea various fixes for exporting, including correct handling of errors during export which previously would hang when using jack1 because jack_set_freewheel() was called from inside a process() callback; use shared_ptr<Route> in parts of export code that weren't using them before; fix up generation of export filenames so that Glib::build_filename() is used and non-existent folders are ignored
git-svn-id: svn://localhost/ardour2/branches/3.0@13610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06 19:56:33 +00:00
Paul Davis 13a7612ef6 make bus stem export possible (from colinf) (#4745)
git-svn-id: svn://localhost/ardour2/branches/3.0@13606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-06 12:46:27 +00:00
David Robillard 6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff).  I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.

This commit only targets includes of ardour/*.h.  There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.


git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
Sakari Bergen ab8cea1d7c Store Region export state in instant.xml (fixes #3935)
git-svn-id: svn://localhost/ardour2/branches/3.0@11376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28 15:05:53 +00:00
Paul Davis b985476a12 made region export default to use region gain and fades
git-svn-id: svn://localhost/ardour2/branches/3.0@10882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-03 14:02:49 +00:00
Carl Hetherington 7bdcc127e3 Use shared_ptr for Port in the AudioEngine; improves thread-safety of the audio engine's port list as a writer cannot destroy a port in one thread while the port list is being iterated in another.
git-svn-id: svn://localhost/ardour2/branches/3.0@10327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 17:04:09 +00:00
Carl Hetherington 77279f390d Don't offer the monitor buss to export from (#4393).
git-svn-id: svn://localhost/ardour2/branches/3.0@10306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-25 16:08:16 +00:00
David Robillard ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
Sakari Bergen a406d9183a Make stem export export from right before any processors.
The dialog does not support exporting from the outputs anymore, sorry. Will add options later...


git-svn-id: svn://localhost/ardour2/branches/3.0@8520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-16 19:41:11 +00:00