Commit Graph

27481 Commits

Author SHA1 Message Date
e545e66911
Temporary change to make auto-return work with broken transport-logic
Revert this once transport state machine waits for de-click!

This causes audible-clicks on stop, but prevents audible artifacts
on LocateRoll with the current transport-control-logic.
2019-03-17 18:38:07 +01:00
66103be9f2
Speed up session deletion
No need to reconfigure routes due to removal of monitor or aux
send/return. The processors will be removed with the route.
2019-03-17 17:35:10 +01:00
3fa3437c38
Remove unneeded calls to configure_processors during session-load
Those are superseded by b890cf73ad, which is done after
all IOChanges have been processed.
2019-03-17 17:32:06 +01:00
b890cf73ad
Prepare to configure procs only once - fix missing panners
During session load, all earlier configure_processors() calls
were useless and not taking I/O into account! The Delivery ::pan_out()
needs _output I/O ports in order to correctly report the correct
port-count!

This worked in earlier versions because Config->map_parameters()
triggered [two] processor re-configs via ::listen_position_changed().
That behavior was changed in 1af123465c
2019-03-17 17:19:02 +01:00
b14fdbb516
NO-OP: prefer to use API to check session-state 2019-03-17 17:04:45 +01:00
2f09f72b3d
Amend 883ee9c2, setup required invisible processor
This fixes a potential silent master-bus when re-loading a session
("mains_out" may be skipped).
2019-03-15 15:54:07 +01:00
cec5ea102f
Allow to load presets via double-click 2019-03-15 15:29:36 +01:00
7655999889
Add example script to save instrument plugins on save 2019-03-15 01:38:49 +01:00
12fd048358
On selection, move/scroll VCA into view 2019-03-14 01:29:10 +01:00
41e0255b97
Unused skeleton of the transport state-machine
Simple test/example code. Eventually this is to replace
Session::process_event() and Session::realtime_*() methods
are to become transition actions.
2019-03-14 01:11:10 +01:00
871bd6e0f3
NO-OP: re-order code, collect realtime transport actions 2019-03-13 16:26:17 +01:00
57d3514946 Another fix for region-equivalency pref. 2019-03-12 12:28:39 -05:00
1ab383d43e Change region-equivalence enum to accommodate new mode. 2019-03-12 12:21:25 -05:00
706f56cc52
Snap to VCA strips in the mixer when scrolling 2019-03-12 17:04:13 +01:00
e8284def1f
Fix marker context-menu (bug missed in 12a415f07) 2019-03-12 15:45:32 +01:00
e186234d2b
Add Preference dialog option for LayerTime 2019-03-12 15:18:16 +01:00
56d8b6cae1
Change default RE to use Layer+Time 2019-03-12 15:17:41 +01:00
d7314e0048
Add a time+layer equivalence check
This is more useful than exact_equivalent() since _start offset
may not match in some cases (compounds, import, record with different
capture latencies).

However shared group editing (range, copy/paste) does result in
consistent layers and matching position+length.
2019-03-12 15:17:12 +01:00
eea603d998 Add/remove source(s) in our MSVC project (gtk2_ardour) 2019-03-11 10:29:07 +00:00
469a7ae1bd Update french translation
Fix some mistakes (mostly mixes between nouns and verbs) and tweak some
translations. Also reuse existing translations in some places because
they were better.
2019-03-11 11:20:39 +01:00
50a414cba6 Update from POT, no content change 2019-03-11 11:16:21 +01:00
eecad55f51
Remove redundant call, fix VST bypass indicator
PlugUIBase c'tor already sets the correct value, using
PluginInsert::enabled. That also correctly shows bypass state of VSTs
that support effSetBypass
2019-03-11 04:18:35 +01:00
bdcfab73f8
Use VST's print_parameter() when applicable. 2019-03-11 02:56:08 +01:00
484e0d0fb2
Remove generic parameter-printer
This has been superseded by value_as_string() along with meta-data
from parameter-descriptor, which is supported by all standards, except VST.
2019-03-11 02:10:50 +01:00
4964852f0b
Remove cruft, unused variable 2019-03-11 01:49:43 +01:00
45805ece02
Remove unused value parameter printers 2019-03-11 01:48:40 +01:00
Olivier Humbert
1df160cbf8
Fixes 2 mistakes in the German translation file 2019-03-09 22:01:43 +01:00
Olivier Humbert
7b9fc3d601
French and German fixes 2019-03-09 22:01:43 +01:00
4d695eaf51
Work-around crash when printing bindings
(ardour -b or Keyboard-Shortcuts > Print Bindings)
see also https://github.com/Ardour/ardour/pull/447
2019-03-09 21:59:16 +01:00
65fc37afb7 do not save MIDI port info unnecessarily 2019-03-08 17:51:00 -07:00
d14d9d9532 on engine (re)start, just mark MIDI port info dirty 2019-03-08 17:50:32 -07:00
c51c8b3308 add runtime warning message 2019-03-08 17:08:29 -07:00
4c2e801b5f avoid crazy levels of work when MIDI Port Info preferences panel is not visible 2019-03-08 17:04:43 -07:00
b1504f261e drop silly canonical name stuff from MIDI port info, and just store backend name (GUI version) 2019-03-08 12:10:32 -07:00
dd8b051636 drop silly canonical name stuff from MIDI port info, and just store backend name (libs version 2019-03-08 12:10:22 -07:00
ae997c0935 rework name/canonical-name stuff for MIDI port info (GUI edition) 2019-03-07 22:05:40 -07:00
ac50d66da9 rework name/canonical-name stuff for MIDI port info 2019-03-07 22:05:40 -07:00
Olivier Humbert
6dcfc7b7f0
French translation update 2019-03-08 02:43:34 +01:00
2e5daf2eeb
Reduce #includes - avoid ardour_ui.h 2019-03-08 01:53:55 +01:00
d42c0f2d60
Fix some more Gtk::Menu memory leaks 2019-03-08 01:44:51 +01:00
15cd1163fc
Pass stderr mode properly to vfork wrapper 2019-03-07 23:51:04 +01:00
df8097e31e
Fix mp3 export
For reasons yet to be investigated, closing stderr when using a
pipe into ffmpeg results in ffmpeg's stderr being written
verbatim in the output file.
2019-03-07 23:51:01 +01:00
7ed27e3ef7
Request for comment: Bug or feature? 2019-03-07 23:50:59 +01:00
7b96fa1c5e
Fix some Gtk::Menu memory leaks
A Gtk::manage()d widget will be deleted when its parent container
is destroyed. Top-level context menus are not inside a container and
hence need to be manually deallocated.

The solution here is to use a shared Gtk::Menu pointer that is
centrally de/re-allocated.

This works because the GUI is single-threaded and at most one
context menu is visible at a time.
2019-03-07 23:50:50 +01:00
12a415f077
Cleanup Editor/Marker context-menu
This could have caused crashes previously:
::build_range_marker_menu() may have created range_marker_menu
while the GUI wanted transport_marker_menu.
2019-03-07 23:50:46 +01:00
64e1d691ec
Prefer using RAII to suspend signals 2019-03-07 23:50:43 +01:00
3bc9281c31
Fix some Gtk::Menu related memory leaks
A Gtk::manage()d widget will be deleted when its parent container
is destroyed. Top-level context menus are not inside a container and
hence need to be manually deallocated.

This adds explicit delete calls for menus where there is a
member variable reference to the Menu.
2019-03-07 23:50:32 +01:00
204d7bf76c
Remove cruft: unused members 2019-03-07 22:25:19 +01:00
b410cd07ab
Remove unused region_edit_menu & edit-point action 2019-03-07 22:25:19 +01:00
99462a50e6 save/restore MIDI port pretty names, but prefer backend pretty name if available 2019-03-07 13:30:54 -07:00