Commit Graph

16198 Commits

Author SHA1 Message Date
Matthias von Faber
4b7efac3dc Report true error when tasklist threads cannot be created
pthreads doesn't use errno, so the error message was misleading.
2020-06-09 17:39:24 +02:00
Peter Kovář
630a3d07d2 Added support for the original Contour Design ShuttlePRO 2020-06-09 17:29:01 +02:00
Robin Gareus
c7edc28383 Keep aux-send names when duplicating tracks 2020-06-07 21:39:50 +02:00
Robin Gareus
c7bce4b685 NO-OP: whitespace 2020-06-07 18:25:18 +02:00
Robin Gareus
21b8885fe9 Remove debug output (also fix some builds, missing stdio.h) 2020-06-07 18:18:58 +02:00
Robin Gareus
27e45c585f Fix another stupid typo 2020-06-06 23:03:21 +02:00
Robin Gareus
e0548fa798 Offset stack-size by current TLS #8200
Some libraries use thread locals and hence increase the min
requirement.

This is seen on void-linux for example:

> linking a minimal program against cairo gives a
> __static_tls_size of 43008 bytes.
> Doing the same on Ubuntu focal and Debian bullseye,
> __static_tls_size is only 4608.
2020-06-06 19:04:26 +02:00
Robin Gareus
09aa0a3d1a Consolidate code using pthread_attr_setstacksize
This also adds some stack constraint to rt and fallback threads
that didn't have those before (ALSA MIDI for example)
2020-06-06 18:35:44 +02:00
Robin Gareus
515ffbdfe2 Add API to create threads with given stacksize 2020-06-06 18:32:09 +02:00
Robin Gareus
9398a6f60a Fix generic MIDI encoder off by one
Increment for CC values > 0x40, decrement control for values <= 40.
 - 0x41 increment by one
 - 0x40 decrement by one

previously: 0x3f decremented by one, 0x3e by two, .. 0x00 by 64,
but 0x40 also by 64.
2020-06-06 17:10:31 +02:00
Robin Gareus
75404eaa64 Ignore NO-OP Latency changes
This also fixes an endless recursion when directly connecting
is_physical() ports to each other.
2020-06-05 20:44:57 +02:00
Robin Gareus
8f82ccd3aa Add LatencyRange comparator, and explicit assignment operator 2020-06-05 20:44:57 +02:00
Robin Gareus
ab9f51d2d8 Downgrade LV1 error to warning
Failing to discover a plugin is not critical. If the plugin is
used by the session, an error message is displayed later.
2020-06-05 20:44:57 +02:00
John Emmas
743a3b1842 Add/remove source(s) in our MSVC project (audiographer) 2020-06-05 12:41:55 +01:00
Robin Gareus
ae3c8b19c6 Tweak PulseAudio re-initialization
This fixes an issue with pulse disconnecting after freewheeling,
and possibly also address #8193
2020-06-05 04:24:09 +02:00
Robin Gareus
25169d239d Relax initial export-noise to 1/3 of interval 2020-06-05 03:19:47 +02:00
Robin Gareus
f89e72d86d Cont'd backend support for demo-noise 1e7207f9ec 2020-06-05 02:29:20 +02:00
Paul Davis
a98094fcff remove accidentally added colon in euskara (basque) translation 2020-06-04 13:23:36 -06:00
Robin Gareus
1e7207f9ec Add export spec support for watermark/demo-noise 2020-06-04 21:20:32 +02:00
Robin Gareus
820165d238 Add export demo noise watermarking 2020-06-04 21:20:32 +02:00
Paul Davis
d95d10eb55 sort control protocols in name order after discovery 2020-06-01 13:06:23 -06:00
Robin Gareus
ef94663d1c Overhaul MIDI Clock generator
* Fix absolute time alignment, sync clock ticks on exact beats
* Fix start/cont sync to MIDI Clock **Beats** (MIDI Clock / 6)
* Send timecode from engine (not session) - vari-speed independent
* Special case MClk port, don't /resample/
* Support pre-roll, sync start.
2020-05-31 23:46:28 +02:00
Robin Gareus
29a6bfd3e7 Add support for fixed speed MIDI output ports
This is the output port equivalent for
::read_and_parse_entire_midi_buffer_with_no_speed_adjustment()
2020-05-31 23:45:18 +02:00
Robin Gareus
677f4b4e53 NO-OP: whitespace 2020-05-31 23:45:15 +02:00
Robin Gareus
8e52ea74da Add API to lookup MIDI Clock Beat position 2020-05-31 23:45:09 +02:00
Paul Davis
54c1c0cc2c %s is printf, this is ostream! 2020-05-30 11:35:40 -06:00
Paul Davis
9e054aff58 provide more info if tasklist threads cannot be created 2020-05-30 11:10:30 -06:00
Robin Gareus
fe1f8effb9 Don't crash if ardour vamp plugins are n/a #8161
This still assert()s in debug builds. Since those plugins
should always be available.
2020-05-30 05:20:50 +02:00
Robin Gareus
2beae94a5d Remove non rt-safe debug output 2020-05-29 17:29:52 +02:00
John Emmas
754f9bba0c Further change needed for 'libtemporal' 2020-05-29 12:28:13 +01:00
John Emmas
1d23e18efe Initial vcproj changes for building Ardour6 / Mixbus6 with MSVC 2020-05-29 08:33:33 +01:00
Luciano Iam
e253302c62 WebSockets: allow compilation with lws < 2.1.0
Old libwebsockets does not define lws_callback_http_dummy()
Conditionally use custom code instead
2020-05-28 18:56:21 +02:00
Luciano Iam
3840264edd WebSockets: remove usage of lws constant LLL_USER
It is not available on lws 2 and really not needed
2020-05-28 18:56:21 +02:00
Luciano Iam
c3d72625cd WebSockets: leverage LWS_WITH_GLIB 2020-05-28 18:56:21 +02:00
Luciano Iam
85d1aa30d5 WebSockets: comment out a lws_callback case that made clients hang 2020-05-28 18:56:21 +02:00
Luciano Iam
7554655616 WebSockets: improve libwebsockets 4 compatibility
After upgrading from lws 3 to 4 clients could still connect to the surface but no data was sent from the server.
2020-05-28 18:56:21 +02:00
Luciano Iam
6e5aeb57b3 WebSockets: fix LWS_WITH_EXTERNAL_POLL check 2020-05-28 18:56:20 +02:00
Daniel Appelt
522d6d769c Add ControlList docs that are relevant for Lua 2020-05-28 18:52:02 +02:00
Len Ovens
4bfb2ee6cd Allow foldback sends to be pre or post fader 2020-05-28 07:05:59 -07:00
Robin Gareus
3e6295f538 Fix MIDI Clock slave
* take port latency into account
* fix DLL initialization, and initial speed calculation
* igonre out of bounds BPM

the DLL bandwidth still needs to be tweaked, likewise the
hardcoded 1st order LPF to track BPM (vs speed).
2020-05-27 23:59:27 +02:00
Robin Gareus
16f6e62249 Consolidate TansportMaster implementation
* share port_latency latency query for MTC and MIDIClock slaves
* propagate set_session()
* share session_connections for MasterViaMIDI

This is in preparation to allow MClk slave to access midi-port-latency
2020-05-27 23:40:09 +02:00
Robin Gareus
b46a7d43c2 Dummy Backend: add a MIDI Clock generator 2020-05-27 23:40:06 +02:00
Mister Benjamin
4c8b9daa0f Allow CD marker at session start #8029
This removes the restriction to not place a CD marker at
session start.

This helps in getting rid of some inconsistencies. Also,
the previous policy didn't help in enforcing the Red Book standard.

Two seconds of pregap are implicitly created by DDP mastering tools
and CD burning software.
2020-05-27 21:05:17 +02:00
Robin Gareus
0d4ea1e61f Fix reverse MIDI playback
upper_bound() returns the first element that is **greater** than
the given value. So during reverse playback we need the value
before that.

Likewise for forward playback, lower_bound() returns an iterator
pointing to the element before the one that need to be played.
2020-05-25 17:19:44 +02:00
Robin Gareus
59c914e2db Amend previous commit (no default namespace std) 2020-05-24 23:22:20 +02:00
Robin Gareus
d7ca8c350a Fix a missing std when using modern VAMP-SDK 2020-05-24 23:21:16 +02:00
Robin Gareus
d3ffc4d90a Update more messages to prefer "Track/Bus" instead of "Route" 2020-05-24 19:38:04 +02:00
Robin Gareus
94085b0162 Avoid "Route" in user visible messages
Prefer "Track", "Bus" and/or "Strip" where applicable, or simply
avoid it.
2020-05-24 19:20:45 +02:00
Robin Gareus
1a43512399 Another missing Lua constant (used with preferences) 2020-05-24 16:36:29 +02:00
Paul Davis
6244cc4972 update german libardour translation 2020-05-24 00:06:25 -06:00