Commit graph

15706 commits

Author SHA1 Message Date
Nikolaus Gullotta
252de1e5be
remove some un-needed headers 2020-03-23 13:49:14 -05:00
Nikolaus Gullotta
8cbba27a58
major overhaul and bugfixing 2020-03-23 13:49:14 -05:00
Nikolaus Gullotta
47aa48e769
add read and write functions to class 2020-03-23 13:49:14 -05:00
Nikolaus Gullotta
b49dc050bb
more changes to snapshot 2020-03-23 13:49:14 -05:00
Nikolaus Gullotta
5b07a130ce
Merge branch 'master' into mixer-snapshots 2020-03-23 13:49:14 -05:00
Nikolaus Gullotta
44c7ab039a
vcas re-find their assignments 2020-03-23 13:49:13 -05:00
Nikolaus Gullotta
6b4e2a2151
rework - instead of having one state vecotr, have a seperate one for routes, groups, and vcas 2020-03-23 13:49:13 -05:00
Nikolaus Gullotta
88b42e5c5d
changes to mixer snapshot and add a way to do this from some gui element 2020-03-23 13:49:13 -05:00
Nikolaus Gullotta
0ae8268bf0
lib_ardour part: add mixer_snapshot class 2020-03-23 13:49:13 -05:00
Robin Gareus
d050256a41
Remove Mixbus Aux-Link special case 1/2 2020-03-23 17:45:38 +01:00
Robin Gareus
4780a0fd60
NO-OP: whitespace 2020-03-23 17:38:08 +01:00
Robin Gareus
ac9e16f0b8
Pan: remove automation-state indirection 2/2 2020-03-23 17:38:01 +01:00
Robin Gareus
ce088f1f44
Constrain panner value to valid range 2020-03-23 06:14:39 +01:00
Robin Gareus
7aa4d6a91f
Remove unused method (see also 875f69438) 2020-03-23 06:13:34 +01:00
Robin Gareus
5c3f49ef2b
Fix icon-tool
tape-rec icon was removed in a4d7b45fe, also re-order icons to
retain grouping per line when using the icon render util
2020-03-23 01:18:55 +01:00
Robin Gareus
a54b000a70
Fix file import (typo in a4d7b45) 2020-03-23 01:06:23 +01:00
Paul Davis
f703385d07 fix slaving to JACK transport (again!) 2020-03-22 10:57:54 -06:00
Paul Davis
1f3145f8ff fix up JACK transport to use master strategy design 2020-03-22 10:57:54 -06:00
Paul Davis
1e474afbce fix typo that passed wrong value as 2nd parameter to Session::plan_master_strategy() 2020-03-22 10:57:54 -06:00
Robin Gareus
386264bd23
Pan: consolidate what_can_be_automated API 2020-03-21 19:46:39 +01:00
Robin Gareus
60bcefd03d
Pan: remove/consolidate parameter-descriptor 2020-03-21 19:46:38 +01:00
Robin Gareus
efb63e1bf2
Pan: remove value-as-string indirection 2020-03-21 19:46:38 +01:00
Robin Gareus
991f92c2c6
Pan: remove unused APIs 2020-03-21 19:46:38 +01:00
Robin Gareus
875f694380
Pan: remove VBAP requirement to access session 2020-03-21 19:46:38 +01:00
Robin Gareus
bf894d80fb
NO-OP: remove unused #includes 2020-03-21 19:46:38 +01:00
Paul Davis
8296a030a5 redesign chasing the transport master
Substantive comments associated with code in Session::plan_master_strategy.

Known not to work for reverse TC. Also, the JACK related code has not yet been tested
2020-03-20 17:38:38 -06:00
Paul Davis
e6e0edbe90 fix condition under which out-of-window MTC should trigger locate 2020-03-20 17:38:38 -06:00
Robin Gareus
28f15d3fa6
Add flag to explicitly hide a control
Eventually this is to replace a literal name "hidden" that is
currently used as hack throughout Ardour's codebase.
2020-03-18 18:16:29 +01:00
John Emmas
ca4e3c2556 Add/remove source(s) in our MSVC project (libardour) 2020-03-18 09:21:57 +00:00
Paul Davis
1783305077 provide mechanism to report on destructive tracks presence in a session 2020-03-17 16:31:50 -06:00
Paul Davis
0738472fee NOOP: indent/whitespace 2020-03-17 16:31:49 -06:00
Paul Davis
295fb3ff5a allow loading of regions derived from formerly "destructive" sources with correct length
Without this change, such regions end up with insanely large (though legal) lengths
2020-03-17 16:31:49 -06:00
Paul Davis
a30ee6950d restore being able to load a 5.12 session with a destructive track.
Not all is working right yet, however
2020-03-17 16:31:49 -06:00
Paul Davis
a4d7b45fe0 remove destructive/tape mode tracks 2020-03-17 16:31:49 -06:00
Paul Davis
e89b0cfd27 remove tape_file_matcher source 2020-03-17 16:31:49 -06:00
David Robillard
45026100aa LV2: Implement ui:requestValue feature 2020-03-17 16:55:35 +01:00
Robin Gareus
a7a781971e
Change default stereo panner to equal power balance
The stereo-width panner is not generally useful. In order to
change the azimuth, width has to be reduced, which usually leads
to comb-filter artifacts.

Equal power stereo, also matches the default mono to stereo panner
better than the stereo-width panner.

Last but not least, control surfaces only have an azimuth control
knob, without an easy way to reduce width, this leaves
the panner insensitive.
2020-03-15 21:39:53 +01:00
Robin Gareus
dbd4b9d07d
Fix cleanup report #7891
Direct call to Session::cleanup_sources() from ARDOUR_UI::cleanup()
didn't zero initialize size. This centralizes initialization,
so cleanup_trash_sources() does not need to explicitly clear it.
2020-03-15 20:31:57 +01:00
Robin Gareus
f941b3fadd
Add/use default argument for track creation 2020-03-15 14:03:24 +01:00
Robin Gareus
7f862298cf
Fix loading playlists of old sessions
Previously when loading Ardour v2, v3-5 sessions, tracks were
created with a dummy name "toBeResetFroXML".

In v6, Track::init() creates a playlist when the track name is
not empty. Later Track::set_state() calls set_name(). When a
playlist exists, the playlist's name is set to match the track's name.

When loading v6 sessions none of this happens. A previously loaded
playlist will be assigned by ID.

Older versions identified Playlists by name and by the time the
playlist is assigned, there may be ambiguities. With the default
(track-name = playlist-name) two playlists with the same name exist:

 (1) the playlist loaded from the session file
 (2) the playlist created by Track::init()

Playlists are stored in an ordered std::set<shared_ptr<Playlist>>,
and name-lookup iterates over the set.

When loading an old session after starting Ardour, it is very
likely to always lookup the playlist (1), because new, later
allocations from (2) are on top of the heap and ordered last.

The session seemingly loads correctly, except for lingering,
unused empty playlists "toBeResetFroXML" renamed to "Track name"
that were never deleted.

However when loading an old session from a running instance,
ordering is mostly random, and many tracks end up with using
the empty playlist (2) instead of the correct playlist (1).
2020-03-15 13:34:13 +01:00
Robin Gareus
213b3cd593
More useful debug message (print script that failed to parse) 2020-03-15 12:50:30 +01:00
Robin Gareus
db59711bc9
Fix SessionHandleRef shared-ptr leak when unfreezing tracks 2020-03-14 13:25:54 +01:00
Robin Gareus
8f37865070
Prevent freeze/bounce of sidechain processors
This also consolidates code to test if a processor can be frozen
from various places.
2020-03-14 13:25:54 +01:00
Damien Zammit
d95f6039f8 import_pt.cc: Remove process lock on AudioEngine && save less often 2020-03-14 12:03:22 +11:00
Paul Davis
91c92f8e25 remove debug output 2020-03-13 13:52:38 -06:00
Paul Davis
7ba8714e37 add/alter DEBUG_TRACE output 2020-03-13 13:52:38 -06:00
Paul Davis
ee1f8a6fc7 add comment and additional reset when reinitializing transport master engine DLL 2020-03-13 13:52:38 -06:00
Paul Davis
c83d509203 when locating to follow a transport master, reset engine DLL 2020-03-13 13:52:38 -06:00
Paul Davis
f5ec5ea929 add new API to TransportMasterManager to manage use of DiskReader::{inc,dec}_no_disk_output() 2020-03-13 13:52:38 -06:00
Paul Davis
cc43ec3ef6 adjust TransportFSM to avoid declick to locate if DiskReader::_no_disk_output is set
Under those conditions, the DR will not execute a code path that will cause the declick to take place
and therefore the declick will never finish
2020-03-13 13:52:38 -06:00