Commit Graph

31361 Commits

Author SHA1 Message Date
John Emmas 74670d2789 Derive some functions from RecInfoBox::update() (in the derived classes)
For whatever reason, MSVC doesn't like us connecting so many signals to 'RecInfoBox::update()' (crashes the Debug build)
2021-02-26 13:07:35 +00:00
Robin Gareus 739ee688bf
Fix Bundle I/O direction
With bundles `ports_are_inputs()` indicates inputs that Ardour
can write to (data sinks, for playback).

BundleEditor::input_or_output_changed () set this correctly.
2021-02-26 13:44:04 +01:00
Robin Gareus 1ae8ebf7c0
Fix OSX/PPC builds
monitor_port.cc:164: error: reference to 'AudioBuffer' is ambiguous
candidates are:
 CoreAudio.framework/Headers/CoreAudioTypes.h:106: typedef struct AudioBuffer AudioBuffer
 ardour/audio_buffer.h:34: error: class ARDOUR::AudioBuffer
2021-02-26 13:38:29 +01:00
Robin Gareus d2d268263c
Add Lua Bindings to access Bundles 2021-02-26 13:34:24 +01:00
Robin Gareus 61b29c5810
Fix track-record-axis cleanup, duplicate self delete
Also hide/delete IOSelector dialogues early on when closing
the session.
2021-02-26 03:08:35 +01:00
Robin Gareus ad9e44e92a
RecorderUI: consistent rec-arm button size
The rec-arm circle diameter is given by 0.5 * min (width, height).
For mono tracks the diameter is limited with the height of the
track. When more channel meters are visible the height increases and
the rec-arm circle grows.

The solution here is to constrain the rec-arm button width to its
minimum and not grow to have the same width as other buttons.

This also changes the default meter-height so mono and stereo tracks
have the same height (with default scaling).
2021-02-26 00:02:50 +01:00
Robin Gareus 611fff21ae
NO-OP: remove unused variables 2021-02-25 23:57:33 +01:00
Robin Gareus 4ccad6eae4
Fix pasting processors pre-fader #7416
Previously when using index == 0, a hidden processor
(Recorder or Delayline) would be returned instead of the first
actual processor.
2021-02-25 19:54:12 +01:00
Robin Gareus a7ce58b995
Fix rec-ruler time display
The calculation to round the distance to seconds has to be performed
using floating point maths, not just the result being cast to double.
The time-granularity must not be zero.
2021-02-25 17:59:53 +01:00
Robin Gareus a9192266d0
Only save engine-hints when ardour started the engine 2021-02-25 17:53:45 +01:00
John Emmas 53b90dc0dc Add a cast when using 'ceil' (to keep MSVC happy) 2021-02-25 16:46:19 +00:00
Robin Gareus 07d04be98d
Potential fix for MSVC builds
The set is defined with custom compare fn:
  std::set<T, cmp> x;
but later iterators used a default constructor:
  std::set<T>::iterator i = x.begin();
2021-02-25 15:55:10 +01:00
Robin Gareus d124b3600b
Add a separator between script and window buttons 2021-02-25 14:29:12 +01:00
Robin Gareus 4521bf9158
Re-arrange Rec/Edit/Mix buttons
* Arrange Edit & Mix to reach the right-edge, stacking
 them the same way, as previous versions for muscle memory.
* Hide preferences window button
2021-02-25 14:00:59 +01:00
Ben Loftis 8985e50672
Use verbs for the toolbar tab/window buttons 2021-02-25 13:58:27 +01:00
Robin Gareus 353e9b6843
Remove hardcoded file info box width
This addresses an issue with translations, where some labels
result the box to need a width > 300px.
This also scales the box with the rest of the UI.
2021-02-25 04:11:06 +01:00
Robin Gareus 49f5df69a1
Reduce Prefs Dialog min-width
* Shorten long labels
  Those increase the x-offset for the data table column on the right.
* Shorten some long ComboBox texts
* Reduce min. slider controller width
* Tag some long labels and dropdowns that are currently the bottleneck
2021-02-24 21:37:16 +01:00
Robin Gareus 24a4f37aaa
Cont'd Preferences pane re-ordering
* Split "Signal Flow" pages to reduce height requirement
  -> Signal Flow  & -> Solo/Monitoring
  The latter is just control logic, no signal flow changes.
* Group CPU/FPU performance Options
* Move Region-Analysis to Metering (it is not performance related)
2021-02-24 21:37:16 +01:00
Robin Gareus 6a7cc2a3e9
Work around over-sized ComboBoxes in the Prefs. dialog 2021-02-24 21:37:16 +01:00
John Emmas d2cb383965 MSVC changes to support the new code modules (Tabbable API stuff) 2021-02-24 14:32:23 +00:00
Robin Gareus 68d26ffee9
Relax A5 style exclusive In/Disk monitoring
This allows "All In" and "All Disk" to be selected simultaneously.
2021-02-24 00:21:44 +01:00
Robin Gareus dfffec9b58
Allow forcing cue-monitoring 2021-02-24 00:20:21 +01:00
Robin Gareus 7f9dae0078
RecorderUI: add a "+" add route button
This provides consistent look and feel with the mixer-window.
2021-02-23 23:07:22 +01:00
Robin Gareus f31e8ede4c
Unconditionally switch Manual->Play when drawing automation 2021-02-23 22:00:27 +01:00
Robin Gareus 33c596e149
Warn user if the engine device changed
This prevents accidentally auto-starting the engine (most recently
used device) with a session that recently used different hardware.
2021-02-23 19:32:03 +01:00
Robin Gareus 0b00eabb19
Store recently used backend with session
This is in preparation to warn a user in case the session
is loaded with a different device and connections may be lost.
2021-02-23 19:22:22 +01:00
Robin Gareus 02ba5a7cd1
Remove unused Tabbable tab_title (3/3) 2021-02-23 17:30:26 +01:00
Ben Loftis 73fb2ddfed
Remove deprecated tab_title (2/3) 2021-02-23 17:23:08 +01:00
Robin Gareus d264cbb21b
Prepare for Tabbable API change (1/3) 2021-02-23 17:22:22 +01:00
Ben Loftis 3290fcbe34
Update remote calls to Prefs page to reflect new layout 2021-02-23 17:21:23 +01:00
Ben Loftis e70c6560af
Provide action buttons to launch prefs-related windows 2021-02-23 17:21:18 +01:00
Ben Loftis a59263707a
Massive reorganization of preferences tabs
* moved some wrongly-parented items into a more sensible location
  (import & export options for example)
* broke some busy pages into separate sub-tabs:  Size+Scale,
  MIDI Port configuration, Timecode Generators
* added "Performance" tab to consolidate some of the tweakier prefs
* moved the order of tabs around so the "indented" ones were not
  so intermixed with the non-indented ones
2021-02-23 17:21:11 +01:00
Robin Gareus c2e4198c0d
RecorderUI: add option to disable waveforms 2021-02-23 16:25:01 +01:00
Robin Gareus 16cbec311a
RecorderUI: add some key-bindings 2021-02-23 16:24:58 +01:00
Robin Gareus ece37d9ca0
RecorderUI: Implement track renaming 2021-02-23 16:24:55 +01:00
Robin Gareus 4412b8714b
RecorderUI: Capture info and transport ctrls 2021-02-23 16:24:30 +01:00
Robin Gareus 15361bca55
RecorderUI: Add input port monitoring 2021-02-23 16:24:27 +01:00
Robin Gareus 582c99a156
RecorderUI: initial implementation 2021-02-23 16:24:23 +01:00
Robin Gareus f10d380d9a
RecorderUI: Tabbable Window Skeleton 2021-02-22 01:00:07 +01:00
Robin Gareus ab07bfbffe
Remove optional global monitor toolbar item
The widget will find a permanent location in the Recorder page.
This partially reverts cf5a0de709
2021-02-22 01:00:07 +01:00
Ben Loftis 6f28d71729
ArdourButton: add flags to force boxy/flat style
Add flags ForceBoxy, ForceFlat for the rectab track header grid
2021-02-22 01:00:06 +01:00
Robin Gareus 6939470f81
Add input-meter layout preference enum 2021-02-22 01:00:06 +01:00
Robin Gareus f7af89aeff
Run input meters, concurrently with cycle-start 2021-02-22 01:00:05 +01:00
Robin Gareus 2efb7244fa
Remove old (v4.x, v5.0) plugin cache code 2021-02-22 01:00:05 +01:00
Robin Gareus ee7a5961b0
Unset plugin-cache-version when cleaning any cache 2021-02-22 01:00:04 +01:00
Robin Gareus 656d4308dd
Ask to discover VST2/3 when showing Plugin Manager 2021-02-22 01:00:04 +01:00
Robin Gareus 00d1391ed9
Remember version that was used to scan VST plugins 2021-02-22 01:00:03 +01:00
Robin Gareus 8497298d73
Custom themable frame container
As opposed to Gtk::Frame, this allows the background color of
the content, inside the frame to be set and follows Ardour theme
options.
2021-02-22 01:00:03 +01:00
Robin Gareus dca7cbc963
Allow to configure decimals of MinSec clock format 2021-02-22 01:00:02 +01:00
Robin Gareus f91cb13cce
Facilitate callbacks when Tab is detached/attached 2021-02-22 01:00:01 +01:00