Commit graph

70 commits

Author SHA1 Message Date
Robin Gareus
df72e1ba4f Initial backend support for external export encoder
This adds an experimental pipe to ffmpeg to encode mp3. Currently
quality is hardcoded and various aspects remain to be implemented.
However, it is sufficient for initial testing.
2018-11-19 05:21:17 +01:00
Robin Gareus
0dc9c068e7 Don't allow invalid export Locations (when using the GUI) 2018-07-25 18:21:19 +02:00
Robin Gareus
ff5cc4a311 Reset export-config maps before each new export (1/2) 2018-07-25 18:19:55 +02:00
Paul Davis
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Tim Mayberry
34ee50d171 Use XMLNode::get/set_property in ARDOUR::ExportProfileManager class 2017-04-19 09:36:51 +10:00
Tim Mayberry
ce16b5424f Fix crash when ExportDialog is hidden
The issue is that when ExportDialog is destroyed
ExportFileNotebook::FilePage::on_hide is called which in turn calls
ExportProfileManager::save_format_to_disk() in order to save changes to the
analysis and soundcloud upload checkboxes. This then causes the
ExportProfileManager::FormatListChanged signal to be emitted, which in all
other cases is emitted when the format list is modified so that the GUI can
rebuild the format selector menu in ExportFormatSelector::update_format_list
when a format is added or removed.

The problem when doing this in the destructor is that some of the widgets have
already been destroyed, specifically the issue was in
ExportFileNotebook::update_soundcloud_upload trying to access the
soundcloud_selector member that had already had its destructor called.

As it is not necessary to call this signal in the first place and it just
causes unnecessary GUI updates remove the signal emission.
2016-09-17 22:03:16 +10:00
Tim Mayberry
ac4ad28b4f Fix indentation in ARDOUR::ExportProfileManager source file 2016-09-17 22:03:16 +10:00
Robin Gareus
9eaced4c9d allow to query export profile type 2016-07-16 02:14:27 +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
80cc70966c missing local export config is not an error 2016-05-25 13:56:11 +02:00
Paul Davis
17ace643e4 OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one) 2016-05-04 23:09:45 -04:00
Robin Gareus
2397429e99 use quotes for in-tree pbd/glib wrapper include 2015-10-05 22:15:18 +02:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Robin Gareus
7ac691ec82 use pbd's gstdio compatibility wrapper 2015-09-17 14:37:57 +02:00
Robin Gareus
c342769925 allow to export loop-range w/o looping. fixes #6508 2015-08-14 02:32:29 +02:00
Paul Davis
a6a522766b add required header 2015-06-29 14:18:12 -04:00
Paul Davis
0b1a10b2d5 make use of loop range as default export range being Tracks specific 2015-06-29 14:18:12 -04:00
VKamyshniy
14226356d8 [Summary] Per Igor's request: if auto play loop is set on, the main timespan should be the range loop location. 2015-06-29 14:18:11 -04:00
nick_m
7099f0ec4e Add backwards compatibility for instant.xml changes. 2014-08-14 03:19:40 +10:00
nick_m
34bf7457c6 Move ExportProfile xml from Session instant.xml to session file. 2014-08-14 02:52:42 +10:00
Tim Mayberry
8d0cba3384 Use PBD::find_files_matching_pattern instead of other variations 2014-06-25 12:40:10 -04:00
John Emmas
d1fd112bdf Transfer 'export_formats_search_path()' into 'libs/ardour/search_paths.cc' 2014-03-10 16:24:06 +00:00
Paul Davis
f0ddf5281b debugging export format UUID creation 2014-02-14 17:41:45 -05:00
Paul Davis
133251db91 possible fix for error during export format load-from-disk 2014-02-14 16:33:44 -05:00
Paul Davis
1b21eec042 Fix for ambiguity of UUID type on windows 2013-07-11 14:13:55 -04:00
Sakari Bergen
b01ff11b04 Return null if deserializing an export timespan doesn't succeed with at least one range.
This should fix an issue with loading old sessions using the old way of
handling session ranges specially.
2013-05-26 21:25:22 +03:00
Sakari Bergen
0a364fd991 Remove special handling of session range in export. Fixes things when the session range is renamed. 2013-05-26 20:25:27 +03: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
526a1a71fe Make export type an enum and pass it to the profile manager instead of the xml node name.
Use this to always include the channel configuration name in stem exports.


git-svn-id: svn://localhost/ardour2/branches/3.0@13616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-07 21:58:33 +00:00
Paul Davis
1cdf02ae2f remove use of boost::thread/boost::mutex; bump glibmm requirement to 2.30 in order to pick up Glib::Threads::Mutex which can be used statically, use that to replace boost::mutex; add required inclusion of <cerrno> in a couple of places
git-svn-id: svn://localhost/ardour2/branches/3.0@13076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 21:43:05 +00:00
Paul Davis
e6610e6ad8 i18n fixes from alexander prokoudine (#5016)
git-svn-id: svn://localhost/ardour2/branches/3.0@13050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-17 13:11:15 +00:00
Tim Mayberry
7e7d053f53 Replace use of PBD::sys::path in ExportProfileManager
git-svn-id: svn://localhost/ardour2/branches/3.0@12831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:07:00 +00:00
Tim Mayberry
105caf23da Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:54 +00:00
Carl Hetherington
bd2e28aaac Fix crash on opening the export dialogue when there are no
formats (#4742).


git-svn-id: svn://localhost/ardour2/branches/3.0@11524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-26 20:48:51 +00:00
Sakari Bergen
dba601eeab Show an example filename in the main export dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@11383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 20:55:44 +00:00
Sakari Bergen
aaec2a8480 Fix issue with export channel splitting getting stuck in the filename
git-svn-id: svn://localhost/ardour2/branches/3.0@11380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-28 19:20:17 +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
Sakari Bergen
09d1fbd6c1 Add warnings for overwriting marker files
git-svn-id: svn://localhost/ardour2/branches/3.0@11305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-22 18:02:27 +00:00
Paul Davis
7a5a5da953 probably fix failure to find export formats in packages
git-svn-id: svn://localhost/ardour2/branches/3.0@10888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 20:05:50 +00:00
Paul Davis
6fbd05a77d some more package debugging to help find out why export formats are not found
git-svn-id: svn://localhost/ardour2/branches/3.0@10887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 19:37:15 +00:00
Carl Hetherington
e76840c089 Prevent crash on de-selecting all tracks from a stem export
(#4167).


git-svn-id: svn://localhost/ardour2/branches/3.0@9967 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-09 13:04:28 +00:00
Sakari Bergen
7468fdb9ca Typedef all globally used export smart pointer types in one file.
Some of them need to be ordered in STL containers, and thus need
a special comparable wrapper for boost::shared_ptr, defined in
comparable_shared_ptr.h. This also alleviates the typedef hell
present earlier in some export classes :)

Making the timespan pointer comparable should fix bug #4093


git-svn-id: svn://localhost/ardour2/branches/3.0@9702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-11 14:14:24 +00:00
David Robillard
a473d630eb Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 16:50:12 +00:00
Paul Davis
483a88d54e add the standard mechanism for search paths to the path used for export formats, so that we can find them in a bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-02 13:53:03 +00:00
Paul Davis
f41d1569d8 change builtin export format/preset search path to correct value; remove line of debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@9136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-13 16:23:13 +00:00
Sakari Bergen
751cc84dd2 Properly create new presets, i.e. without duplicate id's on save-after-rename
git-svn-id: svn://localhost/ardour2/branches/3.0@9132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 21:28:58 +00:00
Paul Davis
7060fe697e use legalize_for_path() on filenames for export presets and formats
git-svn-id: svn://localhost/ardour2/branches/3.0@9126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-12 20:16:16 +00:00
Carl Hetherington
0ace3f6e20 assert to show up #3812 more clearly.
git-svn-id: svn://localhost/ardour2/branches/3.0@9009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-01 20:44:12 +00:00
Sakari Bergen
8e35583358 Add stem export dialog and make all different export dialogs save their config to a different node in instant.xml
git-svn-id: svn://localhost/ardour2/branches/3.0@8465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-06 16:55:19 +00:00
Paul Davis
1596ab40ea tweak search path for export profiles
git-svn-id: svn://localhost/ardour2/branches/3.0@8174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 23:15:33 +00:00