Commit Graph

27640 Commits

Author SHA1 Message Date
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
Johannes Mueller
0c3112aed1 Some frame -> sample changes in UCS2400 2019-05-18 16:36:49 +02:00
Johannes Mueller
b8349069f1 Add support for contourdesign ShuttlePRO v2 and ShuttleXpress 2019-05-18 14:04:38 +02:00
Johannes Mueller
89f39d14f2 Add some options for surfaces to jump in the timeline
* ::jump_by_beats()
* request transport to keep rolling after jump
2019-05-18 13:27:49 +02:00
Robin Gareus
1173ca8d34 Prefer dedicated c-pointer bindings (can be const) 2019-05-17 12:09:08 +02:00
Robin Gareus
344feccc31 Prefer dedicated c-pointer bindings (can be const) 2019-05-17 12:09:07 +02:00
Robin Gareus
bed2eb2e33 Fix std::list<hared_ptr<>> front/back methods
Shared pointer reference accessors can't be const
2019-05-17 12:09:07 +02:00
Ben Loftis
3e7e89db8f Fix some actions that moved from Common to Editor. 2019-05-13 09:20:17 -05:00
Robin Gareus
8ae4fe1aa9 Prefer to receive URI-lists for DnD
This fixes an issue when embedding external files with ISO or some non
ASCII encodings (KDE/dolphin file-manager does not UTF-8 encode
filenames for plain/text DnD). But does so for URIs.

See also #7253 and previous commit
2019-05-13 15:44:11 +02:00