13
0
Commit Graph

21498 Commits

Author SHA1 Message Date
Mads Kiilerich
d217b2f8ad un-boost: Add missing #include <functional> in rt_task.h 2024-10-19 12:42:25 +02:00
f8e05a595d
Remove conflicting include 2024-10-19 06:27:50 +02:00
7b24d38c0f
Add more missing include (fix windows builds) 2024-10-19 04:58:30 +02:00
af4d70c243
Use heap to build peak data 2024-10-19 04:49:13 +02:00
0a36cdedac
Add missing include (fix windows builds) 2024-10-19 04:46:35 +02:00
74c4ca3e52
Reduce reliance on boost - the hard part
the rest from `tools/convert_boost.sh`.

* replace boost::function, boost::bind with std::function and std::bind.

This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
ff95d81612
Reduce reliance on boost - the easy part
* boost::unordered_map -> std::unordered_map
* BOOST_STATIC_ASSERT/static_assert
* BOOST_FOREACH -> for
* boost::tuple -> std::tuple/g
* boost::math::isnormal -> std::isnormal
* boost::container::set -> std::set
* boost::none -> std::nullopt
* boost::optional -> std::optional
2024-10-19 03:41:16 +02:00
168b917730
Prepare for std::optional 2024-10-19 03:40:04 +02:00
8eb9263af2
Replace boost::format with PBD::string_compose 2024-10-19 03:39:57 +02:00
Alejandro Domínguez
2436b4df06
Replace boost::noncopyable with C++11 deleted copy constructors 2024-10-19 01:04:15 +02:00
Alejandro Domínguez
915200699b
Replace boost::lexical_cast with std equivalent functions 2024-10-19 01:04:15 +02:00
Alejandro Domínguez
7a0428644f
Replace boost::assign::map_list_of with initializer_list constructor 2024-10-19 01:04:15 +02:00
Alejandro Domínguez
abf7a78984
Replace boost::ptr_list with std::list 2024-10-19 01:04:14 +02:00
Alejandro Domínguez
e326426dbc
Replace boost type traits with std version 2024-10-19 01:04:14 +02:00
Alejandro Domínguez
88e38b2699
Replace boost atomics with std version 2024-10-19 01:04:14 +02:00
Alejandro Domínguez
1ee044c5fc
Replace boost::erase_first with std equivalent 2024-10-19 01:04:14 +02:00
Alejandro Domínguez
1ffb70f670
Replace boost::scoped_ptr with std::unique_ptr (1/2) 2024-10-19 01:04:14 +02:00
30dc9ccc86
Replace boost::scoped_array<T> 2024-10-19 01:04:02 +02:00
2c503eab09
Remove old Coreaudio OSX 10.5 support 2024-10-18 22:52:34 +02:00
99906a2215
Drop build-system support for macOS < 10.13 (require C++17) 2024-10-18 22:52:29 +02:00
bd8525e5f1
Remove deprecated PBD::SignalN 2024-10-18 20:46:31 +02:00
2d7cce44f1
Replace PBD::Signals (1/2) 2024-10-18 20:41:08 +02:00
Alejandro Domínguez
0ade0b2212
Deduplicate SignalWithCombiner<Combiner, void, A...> specialization 2024-10-18 20:41:08 +02:00
Alejandro Domínguez
16dd8528c8
Make SignalN template variadic 2024-10-18 20:41:05 +02:00
837ea32898 actally stop doing clip recording visual stuff when disarmed (libs) 2024-10-18 09:50:48 -06:00
92e452609a
Fix I/O Tasklist RR schedule option 2024-10-18 15:11:08 +02:00
7608d4ade2 API changes for clip recording in TriggerBox
Also, disarm all triggers when track-level rec-enable is disabled
2024-10-17 07:44:33 -06:00
a8f58105a9 provide a class-level static PBD::Signal for Trigger (Slot) arming 2024-10-17 07:44:33 -06:00
6b1659497d add #warning 2024-10-17 07:44:33 -06:00
7c944687c9 preparations for clip data display (MIDI) while recording 2024-10-17 07:44:33 -06:00
c03c3dd918 fix unused variable warning from clang 2024-10-17 07:44:32 -06:00
dab9775223 fix bitwise-vs-logic AND (thanks, clang!) 2024-10-17 07:44:32 -06:00
c2deacdd54 fix definition of Trigger::playable()
The recent change to only use the data object breaks GUI handling
of a PropertyChange signal after _region is set following a drag
and drop
2024-10-17 07:44:32 -06:00
62a4df52c7 tentative steps in infrastructure for displaying clip data during capture 2024-10-17 07:44:32 -06:00
6193535a31 apply a fade in & out to captured audio clip data, before writing to disk
This policy may need revising later.
2024-10-17 07:44:32 -06:00
87ab0a9e0f add config vars to control max size of captured MIDI and audio clips 2024-10-17 07:44:32 -06:00
8305ea5762 during MIDI clip recording, convert audio->beat time at capture time
This distributes whatever cost there is associated with the domain conversion across
multiple process() calls, rather than doing it all in the process() call where
capture finishes.
2024-10-17 07:44:32 -06:00
Paul Davis
cbc0021182 fix typo (| instead of ||) 2024-10-17 07:44:32 -06:00
1e8b2c521c provide a better method to decide if a trigger(slot) is occupied
This is necessary with clip recording because for some short time after recording,
a trigger may be playable despite not yet having a region.

libs edition.
2024-10-17 07:44:32 -06:00
596c54d742 fix ups for record state in TriggerBox 2024-10-17 07:44:32 -06:00
d7d208dc34 move RecordState enum from ARDOUR::Session to ARDOUR so we can use it in TriggerBox (libs) 2024-10-17 07:44:32 -06:00
6ef4a74728 cleanup of bits of clip recording code 2024-10-17 07:44:32 -06:00
4466563a89 avoid double delete of clip recording audio buffers 2024-10-17 07:44:32 -06:00
25400a4936 fix appending new audio data during clip recording 2024-10-17 07:44:32 -06:00
7455b99b45 account for clip recording when computing monitoring state 2024-10-17 07:44:32 -06:00
a357575954 less debugging 2024-10-17 07:44:32 -06:00
423148c2af tweaks to cleanup and get much closer to full audio clip recording 2024-10-17 07:44:32 -06:00
26fb50d1a9 a bit more type-safety when handling audio data during clip recording 2024-10-17 07:44:32 -06:00
d7c424c440 attempt to write and use audio data to disk for audio clip recording 2024-10-17 07:44:32 -06:00
0959696070 NO-OP: remove pointless embedded whitespace 2024-10-17 07:44:32 -06:00