e698a1b2fa
Fix LV2 state:loadDefaultState
...
lilv_state_restore() needs to be called unconditionally (regardless
if a plugin actually has a state-interface) to set port and properties.
It has to be called after ports are enumerated and supported
properties are loaded.
2019-09-18 18:42:34 +02:00
401ace0c67
don't bother following playhead priority during session loading
2019-09-18 10:08:42 -06:00
beafb5b572
deepen stack trace when checking non-RT RT calls
2019-09-18 10:08:42 -06:00
b3981b0206
Add missing break (VST-key forwarding)
2019-09-18 17:38:01 +02:00
ca4b6bb7e9
NO-OP: fix some Wimplicit-fallthrough, see prev commit
2019-09-18 17:38:01 +02:00
e0d5c1426c
NO-OP: fix some Wimplicit-fallthrough
...
gcc can recognize various regexps in comments. Since C++17 provides
[[fallthrough]], using /* fallthrough */ consistently seems
appropriate until we switch to C++17.
see also https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
2019-09-18 17:37:54 +02:00
37194ec805
Introduce the BOOST_MPL stuff (though it all seems a bit flaky with MSVC...)
2019-09-18 15:08:26 +01:00
cb3afb6981
Remove a (no longer needed) source file from our MSVC project (evoral)
2019-09-18 15:05:16 +01:00
00a8e7c9e0
Add/remove source(s) in our MSVC project (libardour)
2019-09-18 15:03:51 +01:00
b2ff2b86fa
Fix OSX builds: undef Apples's odd nil macro
2019-09-18 06:23:40 +02:00
52021bc3ca
Consistent use of abort() /* NOTREACHED */
...
This fixes some static analysis warnings:
PBD::fatal transmitter needs to be connected to a function
that aborts. This is usually the case with GUI
2019-09-18 05:57:26 +02:00
60bce78c7e
Fix Wdeprecated, dynamic exception
...
Dynamic exception specifications are deprecated in C++11,
and were removed in C++17.
2019-09-18 04:43:09 +02:00
bf806cde66
Remove old unused source file
2019-09-18 04:37:12 +02:00
ce7d2a4f2a
Add missing i18n include (after 7f3f201833
)
2019-09-18 04:32:51 +02:00
1b20e1ef1d
Re-order includes
...
* external, system-wide first <>
* next "pbd/*"
...
2019-09-18 04:15:02 +02:00
7f3f201833
Remove "i18n.h" include from header - fix builds
...
i18n alsways needs to be included last. This fixes an ambiguity of "_"
boost/function_types/detail/class_transform.hpp:23:26:
error: ‘boost::mpl::placeholders::_’ has not been declared
using mpl::placeholders::_;
2019-09-18 04:15:02 +02:00
ad8f21763e
deepen stacktrace to show where non-process calls to supposedly process-stack-only methods are called
2019-09-17 19:16:53 -06:00
bd229936ec
add finite state machine to control/manage transport state
2019-09-17 18:26:03 -06:00
fc3e7623e7
correct mistakenly left-in debugging condition that removed parallelism for PortManager::cycle_start()
2019-09-17 18:20:51 -06:00
b648b3a4b4
minor tweaks to use initialization rather than assignment
2019-09-17 18:04:03 -06:00
192a8b7ec0
remove unused local variable
2019-09-17 18:00:37 -06:00
f52781b46b
fix thinko when testing for internal seek with negative distance
2019-09-17 17:59:23 -06:00
cbb7f6d863
use const int rather than macro
2019-09-17 17:57:43 -06:00
b84c99639f
parametize the maximum transport speed.
...
No GUI to adjust this at this, nor is any planned. This just makes it easier if
we ever feel we can change this.
2019-09-17 17:19:15 -06:00
ea30642ae3
resize audio port _data buffer based on current buffer size
2019-09-17 17:14:39 -06:00
455039255b
manually correct cherry-pick of cdbabe40ed4e
2019-09-17 17:06:08 -06:00
5e9f4f2572
add new port flag to identify those owned by a transport master
...
These ports are handled without SRC
2019-09-17 17:00:32 -06:00
37d9ec34c8
add ::usable() method to TransportMaster objects to allow GUI to show their usability after backend/engine changes
2019-09-17 16:54:10 -06:00
fb4cbb9f9e
Correctly handle Zoom > Edit-point > Mouse
...
Previously this failed if the event was initiated outside
of the canvas (e.g. Zoom buttons).
This also fixes a special case of Zooming to an edit-point at zero.
2019-09-17 17:18:29 +02:00
9851c9b08a
foldback gui: removed mute, solo button hide in SIP
...
Mute removed, Solo renamed to listen only shows when
not in SIP mode.
2019-09-16 16:25:09 -07:00
65ec8fe65a
Clarify splash-screen boot messages
...
Parsing MIDNAM is what takes the most time.
"Reset Remote Controls" message is misleading (it means MMC), not
control-surfaces, which a user may have none.
2019-09-16 23:08:01 +02:00
abdb7b81c6
Foldback gui: desensitize solo button when in SIP mode
...
Because foldback by design goes to physical outputs
rather than master or monitor, SIP solo does not work
or make sense. PFL/AFL allow a foldback to be rough
adjusted using the control room monitoring.
A soloed Foldback bus will be released when the foldback
strip is switched to a different foldback bus
2019-09-15 14:48:09 -07:00
ec35afef38
Foldback gui:Removed unused calls and parameters
2019-09-15 07:00:11 -07:00
ef5fd145f7
Set Foldback strip width and ellipsize to work
2019-09-14 10:19:01 -07:00
4884fc734b
desensitize foldback show unless there is a foldback bus
...
The view menu should not show the foldback item
if there is no foldback bus available.
2019-09-13 08:18:35 -07:00
1d557ba69f
Use new icons in mixer window
2019-09-12 23:36:25 +02:00
9c752c249d
Add new icons: hide, prev/next
2019-09-12 23:36:25 +02:00
7e5552d00b
foldback gui: simplify foldback strip menus
...
This uses less code and fixes the odd crash as well
(there was sometimes a crash when using the send
display context menu)
2019-09-12 12:44:38 -07:00
81bbc3be1e
foldback gui: simplify button code where possible
...
use signal_clicked rather than signal_button_press_event
for cases where a menu is not launched.
2019-09-12 09:39:38 -07:00
da88e9d34c
Foldback gui: Added hide and show
...
- New menu item in view menu
- Foldback strip has hide button
- Adding a new foldback bus sets show
- setting is saved and restored
2019-09-11 16:36:05 -07:00
729cd0e2b3
foldback gui: added tool tips for previous and next
2019-09-10 21:40:39 -07:00
2e857e9143
Foldback gui: previous and next buttons don't wrap around
...
I had set the previous next buttons to wrap around
but Robin felt dead ending was better. The previous
button becomes insensitive when the first foldback bus
is displayed and next is insensitive when the last is
displayed.
2019-09-10 21:09:54 -07:00
3f6310ef9c
Foldback GUI: sort send controls by mixer order
...
also found send button name did not follow sending
route name after change and tool tip was wrong. Fixed
both.
2019-09-10 19:26:41 -07:00
8a313daa13
Who needs semicolons?
2019-09-11 03:00:26 +02:00
9f668ceed2
AU: fix optional buffers
...
The spec [1] says:
"If the mData pointers are null, the audio unit can
provide pointers to its own buffers. In this case,
the audio unit must keep those buffers valid for
the duration of the calling thread’s I/O cycle."
A plugin *can* do this, but it does not need to. An extra
NULL test is required.
furthermore [2] specifies
"mDataByteSize - The number of bytes in the buffer pointed
at by the mData field."
In case the host does not provide any buffers, this is obviously zero.
[1] https://developer.apple.com/documentation/audiotoolbox/1438430-audiounitrender?language=objc
[2] https://developer.apple.com/documentation/coreaudiotypes/audiobuffer?language=objc
2019-09-11 02:56:08 +02:00
8dc0c84ba4
AU: don't consider in-place if there are no inputs
2019-09-11 02:56:04 +02:00
f84374730a
Foldback GUI: size and position tweaks
...
- Set width so added pan controls in send controls don't change size
- output button shows only ports applicable to foldback use
- Size text to leave widget width alone
- Center level control
-
2019-09-10 16:09:26 -07:00
24a0a4256a
Add note about Denormal protection pref changes
...
Modifications to the MXCSR register are pre thread. Changing this
setting only directly affects the GUI thread.
2019-09-10 17:03:24 +02:00
d18f6dcbab
MXCSR is a 32bit unsigned int register
...
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_setcsr
2019-09-10 16:59:04 +02:00
ed937c383f
Fix ARM compilation
2019-09-10 04:09:22 +02:00