Commit graph

27848 commits

Author SHA1 Message Date
Robin Gareus
b37f30897d
Windows does in theory support hard-links
NB. this is just as unused as the POSIX link() test. Aardour
doesn't create hardlinks since version 3.0. At least it's now
consistently wrong on all platforms :)
2019-06-12 21:35:07 +02:00
Nikolaus Gullotta
989480ab84 mixbus should always copy imported files 2019-06-12 11:34:46 -05:00
Robin Gareus
d0624b1c04
Do not copy unneeded files to bundle /etc
Previously (Ardour3 buildstack) this was needed for fontconfing, gtk and
pango modules. these days we just compile --with-included-modules=yes.
2019-06-10 22:47:01 +02:00
Robin Gareus
53b13d718f
Initialize some uninitialized vars
This fixes meterbridge type changes, due to uninitialized
_suspend_menu_callbacks.
2019-06-10 00:34:31 +02:00
Robin Gareus
1391f49dbc
NO-OP: rename variable 2019-06-09 19:56:39 +02:00
Robin Gareus
9390f17f36
NO-OP: whitespace and comments 2019-06-09 19:56:36 +02:00
Robin Gareus
43fe5c0487
Update Push2 level-meter display (use new API)
The meter-type is now implicit set by route/meter-processor, common
to all UIs.
2019-06-09 19:56:33 +02:00
Robin Gareus
9f20631984
Update GUI: meter-type API and meter-type state changes
This removes all additional GUI side meter-type state.
The route's meter-processors is now responsible for providing
the type.

meter-type is now implicit for GainMeter, LevelMeter used by
meter-strips and mixer-strips.
2019-06-09 19:56:30 +02:00
Robin Gareus
cd5b0819bf
Consolidate meter-type state and API
In theory different UIs can show different meter-types, so it
can make sense to maintain the type in different places.
MeterType is a bit-set and PeakMeter implementation provides for this.

However, this is not being used, and the current implementation
was rather fragmented, cross-connected signals to keep types in sync,
allowed inconsistent meter-types in GUI and backend.

MeterType is now kept by meter itself, however it is still
saved/restored as part of the Route state.

N.B. This change breaks the API, various methods have been renamed
for consistency.
2019-06-09 19:56:15 +02:00
Robin Gareus
1cec6d1250
Remove toolbar meter (meter type) context-menu
This meter is follows in sync the master-bus meter. The type should
be set directly on the master-bus.
2019-06-09 19:45:01 +02:00
Paul Davis
85eab56809 Change ClipLevelOptions to inherit from a HSliderOption 2019-06-06 18:32:13 -06:00
Paul Davis
5eba2c92ed width of sliders in the option editor is now a fixed text-relative width 2019-06-06 18:32:13 -06:00
Paul Davis
2a38833fca RcActionButton is now always its natural width 2019-06-06 18:32:13 -06:00
Paul Davis
c2200e74ab change OptionEditComponent to avoid ever expanding the RHS widget horizontally 2019-06-06 18:32:13 -06:00
Paul Davis
8bb6a5c875 NOOP: remove whitespace 2019-06-06 18:32:13 -06:00
Paul Davis
95f2e4199b adjust h-size of color theme manager "Reset to Defaults" button 2019-06-06 18:32:13 -06:00
Paul Davis
6a051a97b3 limit width of color theme manager theme dropdown 2019-06-06 18:32:13 -06:00
Robin Gareus
e7e523b418
Fix rpath permission issue for linux packages 2019-06-07 01:38:40 +02:00
Paul Davis
fb2e65fd35 do not set MIDI CC values on locate if control/parameter is set to "Off" 2019-06-05 10:02:39 -06:00
Paul Davis
2c88055ef4 NOOP: whitespace/newline tweak 2019-06-05 10:02:39 -06:00
Robin Gareus
e4a2472b79
Fix mac package - libreadline was r-x, changing install_name failed 2019-06-05 15:36:46 +02:00
Robin Gareus
bf7906ce97
NO-OP: whitespace 2019-06-05 15:34:58 +02:00
Robin Gareus
9398df415d
Clarify MIDI CC menu ambiguity
CCs use 0-based counting, however CC 0 and 32 (bank select) are skipped
in Ardour's CC menu. This lead to some misleading enumeration.

Now, group CCs by 32, skip sub-menu if there are fewer than 32 named
items, and otherwise actual CC min/max numbers per named list.
2019-06-04 23:51:50 +02:00
Robin Gareus
34b671911c
Skip name-suffix for first ALSA sub-device
This fixes an issue when a device has more than one
playback sub-device, but only a single capture sub-device (or vice
versa).
2019-06-04 19:20:26 +02:00
Robin Gareus
09030336ce
Fix windows-packaging (luasession)
`waf install` is not used for binaries :(
2019-06-04 16:30:25 +02:00
Robin Gareus
d3343700de
Package commandline Lua-session tool 2019-06-04 15:15:21 +02:00
Robin Gareus
9aff22a9d2
Tweak toolbar meter reset button to unconditionally apply to all DPM 2019-06-04 14:56:50 +02:00
Robin Gareus
3e4f2d0f7a
Fix async peak-meter reset 2019-06-04 14:48:47 +02:00
Robin Gareus
69194df4d9
Transfer Fn: skip phase calculation for silence and small signal levels
This fixes some division by zero as well as rounding issues for
signals < -160dBFS, resulting in garbage being displayed..
2019-06-04 14:41:50 +02:00
Robin Gareus
dba3ff5236
Assume default plugin bussing is stereo
This changes fan-out to prefer stereo tarcks unless specified otherwise
by a plugin (LV2 port-groups, or AU busses)
2019-06-03 16:28:10 +02:00
Robin Gareus
f777d8389d
List available ALSA sub-devices
Previously Ardour only listed the first audio sub-device in the
for ALSA and JACK backend device selection dialog.
2019-06-01 15:49:46 +02:00
Paul Davis
7fef56554d change name of action from "Smart Object Mode" to "Smart Mode" for consistency 2019-05-30 11:46:26 -06:00
Johannes Mueller
af875e0edc Potential fix for a race.
Do proper bounds checks and force the use of operator[] () const
2019-05-30 17:33:36 +02:00
Johannes Mueller
16d6791566 Make ContourdesignControlProtocol::_button_actions private again ...
... and add proper bounds checks.
2019-05-30 17:09:33 +02:00
Paul Davis
81dbb977c5 fixups for rebase of show-region-name option 2019-05-29 17:37:48 -06:00
Paul Davis
098ff7a07e remove debug output 2019-05-29 15:24:40 -06:00
Paul Davis
8463fb728f add option to show/hide region names 2019-05-29 15:24:40 -06:00
Robin Gareus
b1587940e4
Fix crash when deleting selected region-view in ripple mode #7764
Changing the playlist (remove_region) invalidates selection and
unsets `clicked_regionview`. The region to operate on needs
to be stored for later use.
2019-05-27 14:10:59 +02:00
Robin Gareus
8cce89664c
Fix a -Wmaybe-uninitialized (disk-reader, no audio) 2019-05-26 12:56:10 +02:00
Robin Gareus
203b249135
Shuttle Surface: fix linking .dll
For .dll, all references need to be defined at compile/link time
(not runtime). ie. `ld -zdefs`
2019-05-26 12:46:37 +02:00
Robin Gareus
d28dc9ee08
Shuttle Surface: request_factory and MSVC compatible struct 2019-05-25 16:49:19 +02:00
Robin Gareus
3546a7291b
Shuttle Surface: Fix C++ style: use accessor/setter methods
This also fixes C++ compat: no forward declaration of friend classes
(OSX compilation) and C++98 compat (enums are not classes e.g. ActiveState)
2019-05-25 16:49:15 +02:00
Robin Gareus
4cd379f89b
UI integration to conceal LV1 plugins 2019-05-25 01:56:54 +02:00
Robin Gareus
c97884d257
Add preference to hide LADSPA plugin if LV2 exists 2019-05-25 01:56:23 +02:00
Robin Gareus
a18c54ce94
Optimize Plugin-Manager: minimize status query 2019-05-25 01:23:39 +02:00
Robin Gareus
02c698ed85
NO-OP: whitespace 2019-05-25 01:20:17 +02:00
Robin Gareus
a0b5616c85
Speed up Plugin status changes
Postpone menu rebuild when plugin status changes while the PluginManager
Dialog is visible.

Since the dialog is modal, the menus cannot be used while the dialog
is visible, so updating them once when the dialog is hidden is sufficient.
2019-05-25 00:14:56 +02:00
Robin Gareus
92cfed14cf
Re-use the Mixer's PluginManager (singleton)
Previously there were three plugin-manager instances (two of which
were never destroyed).

There were also 3 sets of context-menus (favorites, by tag, by author..),
all of which were re-built when plugin stati changed.

Since the Plugin-manager is a modal dialog, it can be re-used in
all contexts (route-ui, monitor-section, mixer).
2019-05-25 00:12:55 +02:00
Robin Gareus
ce8740cf5e
Fix LADSPA author name (remove padding) 2019-05-24 23:58:00 +02:00
Johannes Mueller
e61c4b692b Use ActionModel also in ContourDesign surface 2019-05-19 16:43:48 +02:00