Commit graph

36867 commits

Author SHA1 Message Date
Robin Gareus
24d8e5de2c NSGLView: implement partial exposure 2023-02-01 01:23:24 +01:00
Robin Gareus
91fc57b943
Update sample-rate mismatch dialogs to reflect resampling 2023-01-31 01:21:48 +01:00
Robin Gareus
72995741bb
Adjust resampler quality when sample-rate mismatches
This also ensures that engine/session resampling is possible
when the config `port-resampler-quality` is 0.
2023-01-31 01:07:04 +01:00
Robin Gareus
d89162745f
Consolidate base and nominal SR
Now that mismatched sample-rates are resampled, there is
no distinction between base and nominal sample-rate.
2023-01-31 00:54:28 +01:00
Robin Gareus
53cfbe9c7f
Add API to update port resampler
Previously resampler ratio could only set when creating
an audio port. This is in preparation for setting resampler
quality when the session rate mismatches.

The session's rate is only known after basic session-setup
is performed. At this time Click-IO already exists.
2023-01-30 23:17:29 +01:00
John Emmas
2ff05d9e9d class 'PBD::Configuration' now needs to be exportable 2023-01-28 17:44:11 +00:00
Paul Davis
dcf4377b47 configuration_metadata.cc should be manually generated whenever metadata changes, so just commit current version 2023-01-28 08:27:56 -07:00
Paul Davis
099e130367 small fix for process-metadata that injected garbage into the output 2023-01-27 16:01:29 -07:00
Paul Davis
233baeb521 add comments to preferences-metadata describing the file 2023-01-27 15:26:02 -07:00
Paul Davis
da8958c330 comments in preferences-metadata file 2023-01-27 15:26:02 -07:00
Robin Gareus
349d25a2d2 Update latency compensation when sends are added or removed
Previously only adding an aux-send triggered a graph-reorder but copying
or deleting sends did nothing.

Adding/removing an aux-send may not even change the graph, but
both upstream/downstream latency can change and delaylines need to be
configured (which is done by calling update_latency_compensation with
force_whole_graph = true).

This fixes an issue with incorrect initial latency compensation after
copying a send (any later change to connections will correctly
recalculate it).
2023-01-27 23:13:52 +01:00
Paul Davis
ea4b47f86d avoid local prefs var map building 2023-01-27 15:13:27 -07:00
Paul Davis
a4fc52ab55 fixup preferences metadata handling (libs edition) 2023-01-27 15:13:27 -07:00
Paul Davis
3af3f7d6ee UIConfiguration now "builds" all metadata 2023-01-27 15:13:27 -07:00
Paul Davis
89e897a84a tweak emitted code for preference metadata 2023-01-27 15:13:27 -07:00
Paul Davis
2d74669c7e waf rule to "compile" preference metadata into C++ 2023-01-27 15:13:27 -07:00
Paul Davis
625c099fd0 remove debug output 2023-01-27 15:13:27 -07:00
Paul Davis
13251dd571 add session prefs metadata 2023-01-27 15:13:27 -07:00
Paul Davis
68f4c7ce8e add upcase() method; remove upcase version of internationalize() 2023-01-27 15:13:27 -07:00
Paul Davis
125421f686 new files for preference metadata handling 2023-01-27 15:13:27 -07:00
Paul Davis
7a3b42948d change base class for UIConfigurationBase, because it IS-A Configuration 2023-01-27 15:13:27 -07:00
Paul Davis
26c09e6de3 continued work on use of Metadata in various Configuration objects (GUI edition) 2023-01-27 15:13:27 -07:00
Paul Davis
3c1c6e7b68 continued work on use of Metadata in various Configuration objects (libs edition) 2023-01-27 15:13:27 -07:00
Paul Davis
9d4a65e30d most of the code to set up RC preferences metadata
Needs a slight change in the metadata data type, API and search code
2023-01-27 15:13:27 -07:00
Paul Davis
f7387a5d77 infrastructure for PBD::Configuration to deliver metadata 2023-01-27 15:13:27 -07:00
Paul Davis
8071a085c4 add concept of a map-of-own-config-variables to RCConfiguration 2023-01-27 15:13:27 -07:00
John Emmas
b6f9829b70 Not quite sure what's changed but there's suddenly a conflict between Gtk::frame and ArdourWidgets::frame 2023-01-25 10:48:17 +00:00
Paul Davis
f377822891 (temporarily) add nodraw bitflag to avoid gradient fills 2023-01-24 10:01:04 -07:00
Paul Davis
220c319bf0 make preferences search case-insensitive 2023-01-23 09:25:40 -07:00
Paul Davis
0923d898d2 remove preference highlighting on focus out 2023-01-23 09:13:15 -07:00
cooltehno
5ec0665457 Update clear_gray-ardour.colors 2023-01-23 13:04:51 +03:00
cooltehno
bdf1c29e02 Update blueberry_milk-ardour.colors 2023-01-23 13:04:20 +03:00
Robin Gareus
38c613cd9a Towards arranging sections
This allows to move or copy whole sections of the timline (everything
you hear) to a differnt position on the timeline.

NB. Markers and tempo-map are not yet moved, and interpolated MIDI
events are lost.
2023-01-23 04:07:46 +01:00
Robin Gareus
c24c210cce Use Controllist's time-domain for guard-point delta
This fixes copy/paste of pan automation (amongst other things).
2023-01-23 04:02:08 +01:00
Robin Gareus
efe943c98e Reimplement Route::shift, move all automation 2023-01-23 04:02:08 +01:00
Paul Davis
bd82e2cc07 fix transparency when opaque MIDI region is edited 2023-01-22 17:41:43 -07:00
Paul Davis
15434456d5 architecture and implementation for preferences searching
Metadata is only defined for a single region at this point, (much)
more to come.
2023-01-22 17:41:43 -07:00
Paul Davis
09acd5f8b4 add new gtk style name for "shaded entry", used in web-style search entry 2023-01-22 17:41:43 -07:00
Paul Davis
3b40289740 add new color name to all themes (to be used for preferences search) 2023-01-22 17:41:43 -07:00
Paul Davis
46a8073ff2 extend ArdourWidgets::Frame to allow no-draw of frame
Associated: disambiguate Frame use where necessary.
2023-01-22 17:41:43 -07:00
Paul Davis
d982507085 move match_search_strings() function from plugin utils to PBD 2023-01-22 17:41:43 -07:00
Robin Gareus
79033d8ee5 Resample when engine and session sample-rates mismatch 2023-01-22 20:51:44 +01:00
Robin Gareus
65317ef0e0 Prevent engine dialog from changing devices when the engine is running
This fixes an issue with excessive "sample rate mismatches" warnings
via device_changed -> set_in/output_device_name -> set_sample_rate
2023-01-22 20:45:29 +01:00
Robin Gareus
86d9bcf525 Remove direct use of audio-engine rate (2/2)
This is in preparation for sample-rate independence.
2023-01-22 20:07:40 +01:00
Robin Gareus
5130a43d87 Remove direct use of audio-engine rate (1/2)
This is in preparation for sample-rate independence.
2023-01-22 20:06:14 +01:00
Robin Gareus
859d6ebe4a debug: log canvas exposure area 2023-01-21 17:36:22 +01:00
Paul Davis
4cd7de7a6f debugging: allow selection no-draw for canvas fill, outline, text, lineset and waveview 2023-01-20 18:13:12 -07:00
Robin Gareus
a1dee6cba2 Fix printing from Lua DSP context (#9202) 2023-01-21 01:42:33 +01:00
Paul Davis
7e4bb2ff68 only when necessary, parse GTK/GDK command line arguments 2023-01-20 16:51:57 -07:00
Robin Gareus
a3095162de Prevent auditioner from writing files to disk 2023-01-21 00:37:41 +01:00