Paul Davis
3a43c6375d
remove debug output
2019-02-04 11:21:07 -07:00
Paul Davis
64ed049567
force execution of ARDOUR::init_post_engine() before any handlers of AudioEngine::Running()
2019-01-27 14:02:03 -07:00
Paul Davis
e7b34d7f18
do not reset ControlProtocol state for every engine restart, it is not necessary
2019-01-27 14:01:05 -07:00
Paul Davis
1be3301342
new approach to handling Transport Masters when engine is restarted
...
Trust that ::reset() works for all transport masters, and call it when engine is stopped. This way
the transport masters are ready to be called again as soon as the engine restarts.
2019-01-25 09:23:08 -07:00
Paul Davis
4c064081af
(libs) call ARDOUR::init_post_engine() from within libardour rather than requiring "users" of the library to arrange for it
2019-01-16 15:29:38 -06:00
Robin Gareus
dd2e80467b
"only" 1048576 -- sounds like it's not sufficient
2018-12-09 01:27:55 +01:00
Paul Davis
6bd583803e
rename TransportMasterManager::init() to ::set_default_configuration() to make its purpose more clear
2018-11-02 21:52:00 -04:00
Robin Gareus
b6b353d452
Handle generic-midi bindings per session.
...
This allows to special-cases session-specific control-surface state.
e.g. midi-learn.
Only restore midi-learned, session-specific, bindings when loading a
session with generic-midi enabled.
Also dis/re-enable generic-midi resets midi-learned, but no other
session-independent settings.
This also handles the edge case:
1) load global config, generic-midi = ON, w/ bindings.
state is remembered as cpi->state
2) load session-condig, generic-midi = OFF, cpi->state is retained
3) user enables the surface, cpi->state from (1) is applied.
-> invalid bindings applied -> fail
2018-10-04 02:30:21 +02:00
Robin Gareus
497a3fbaa1
Fix --no-nls (2/5), prefer #if in libs
...
This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
2018-09-21 19:03:33 +02:00
Paul Davis
9cdbeaa07d
switch transport masters to use properties and notify via PropertyChanged
2018-09-20 11:30:28 -04:00
Paul Davis
e6915e01de
new transport slave/master implementation, libs/ edition
2018-09-18 19:06:04 -04:00
Robin Gareus
941f55bf40
Create plugin-metadata folder for new config
2018-08-07 16:25:43 +02:00
Ben Loftis
948834bb1e
Add support for PreSonus Faderport2 (2018 model)
...
This is a cleaned-up, foward-ported version of Ben's
Mixbus patch (d6694c5b31).
2018-07-31 14:54:20 +02:00
Robin Gareus
4d173d6048
Prepare plugin-meta-data config-dir and files
2018-01-30 01:33:45 +01:00
Robin Gareus
508f23c4d0
Add FP17 to reserved I/O names
2017-12-12 14:13:34 +01:00
Robin Gareus
d0c934a9de
Fix crash when cleaning up w/o destroying session
...
- Control-protocols may transmit data during cleanup
(e.g. reset surface), and need the Audio-engine to do so.
- destroying the ControlProtocolManager w/o the Session calling
::drop_protocols(), lead to a double free.
2017-08-03 19:25:14 +02:00
Robin Gareus
a82cfd2461
Fix reserved ports:
...
* "Click" is not translated
* add auditioner and FaderPort ctrl surfaces.
2017-05-10 20:29:08 +02:00
Robin Gareus
ea8c6e9fc8
Fix hiding Lua __metatable -- prevent setmetatable() override
2017-03-30 05:06:34 +02:00
Dobroslav Slavenskoj
5f0857620e
Fixing LV2_SUPPORT #ifdefs
2017-01-05 09:24:40 +00:00
Tim Mayberry
0eedb7f866
Add missing function call in error message when compiling for windows
2017-01-05 10:06:17 +10:00
Robin Gareus
27ee53bf8f
Emit signal for special cased configuration variable
2016-12-28 13:38:49 +01:00
Robin Gareus
39903a0023
Check for reserved i/o that are not routes, fixes #7171
2016-12-11 00:04:08 +01:00
Paul Davis
bb29478aa2
stop using Gestalt() on OS X (deprecated and no longer operating correctly)
...
The incorrect behaviour was documented and did not cause issues in Ardour, but we should
still stop using this ancient call.
2016-07-18 15:56:28 -04:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Paul Davis
d58cb3daa3
extensive changes to PresentationInfo API
...
Now handles color, partially.
2016-06-05 16:33:01 -04:00
Paul Davis
5308293597
fix conditional used to decide whether to copy old config files
2016-05-31 15:30:46 -04:00
Paul Davis
589f2a1ab8
change suffix of keybinding files to ".keys" to avoid conflict with earlier versions.
...
Move some code around that should never have been inside libs/ardour to begin with.
2016-02-22 15:31:24 -05:00
Paul Davis
0d9efc1148
redesign cross-thread registration/signalling system
...
This new design will work even when threads that need to receive
messages from RT threads are created *after* the RT threads. The
existing design would fail because the RT thread(s) would never
be known the later created threads, and so signals emitted by the
RT thread and causing call_slot() in the receiver would end up
being enqueued using a lock-protected list. The new design ensures
that communication always uses a lock-free FIFO instead
2015-12-28 10:14:17 -05:00
Robin Gareus
2f5c4c29c6
2K? that's micro -- use macrosoft for lots a files, please!
2015-12-08 18:39:56 +01:00
Robin Gareus
2397429e99
use quotes for in-tree pbd/glib wrapper include
2015-10-05 22:15:18 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Paul Davis
1536228d00
fix initialization of reserved I/O names vector
2015-09-28 17:52:27 -04:00
Paul Davis
0613ddd1f9
better more reliable checks on renamed, newly created and imported track/bus names
2015-09-28 17:42:11 -04:00
Robin Gareus
7ac691ec82
use pbd's gstdio compatibility wrapper
2015-09-17 14:37:57 +02:00
Paul Davis
6de707b3fc
correctly switch between windows and (other) when deciding whether to use AVX code
2015-08-12 00:01:02 -04:00
Paul Davis
3a69ff680e
use new FPU singleton pattern in libs/ardour
2015-08-11 23:00:13 -04:00
Paul Davis
ec5eccd3a3
the AVX functions for linux are stubs - they just use non-optimized code. Don't consider using them.
...
Someone needs to port the AVX assembler away from mingw/windows calling conventions and back to linux
2015-08-11 17:52:39 -04:00
Tim Mayberry
ecb4a76095
Use g_open instead of ::open in translation related utility functions
...
This is for portability on Windows
2015-07-25 23:14:51 +10:00
Tim Mayberry
e3c303d72f
Revert "A few more instances of non-glib 'open()' getting used without locale-specific input paths"
...
This reverts commit 52ef02b387 .
2015-07-25 23:14:50 +10:00
John Emmas
52ef02b387
A few more instances of non-glib 'open()' getting used without locale-specific input paths
...
(noticed by Todd. probably more to come...)
2015-07-23 18:27:00 +01:00
Paul Davis
6410aa896f
Added optimized AVX function for sample processing
...
Added AVX versions of existing 5 SSE functions. Added 6th AVX function to copy vectors which is 1.5 times faster then memcpy.
Data consistency and validness is fully tested after processing with new AVX functions on aligned and non aligned buffers.
2015-06-29 14:18:13 -04:00
Paul Davis
84c1bbb4c7
when copying A3 config files, consider that the user may have /config rather than /ardour.rc.
...
This will be true if they have been self-building from git or
using nightlies.
2015-04-02 19:03:06 -04:00
Robin Gareus
53ac99a26a
rework check for old configuration files
...
check early on (before announcement-check, bundle-
env and ARDOUR_UI ctor have a chance to create the
new config dir)
2015-03-23 18:31:55 +01:00
Paul Davis
9a05a0fbfb
alter config file copying infrastructure so it can be used at a suitable time in the instance's lifetime
2015-03-12 17:45:42 -05:00
Tim Mayberry
4c4863248c
Include windows.h on windows build for LARGE_INTEGER
...
This is necessary for a native build using MSYS2 with mingw-w64
2015-03-12 23:03:32 +10:00
Paul Davis
89a3c78175
finish (?) infrastructure for copying configuration files from a3 to a4
2015-03-11 14:28:30 -05:00
Paul Davis
8587855b99
more infrastructure for copying old configuration files
2015-03-11 13:24:47 -05:00
Paul Davis
f9ce27fd65
global ARDOUR signal to ask GUI to copy configuration files across versions
2015-03-11 13:24:47 -05:00
David Robillard
b35504a71e
Fix compilation with --no-lv2 ( #0006169 ).
...
Not that I condone such backwards behaviour.
(Different issue in the ticket, but it was still broken at link time).
2015-03-08 01:36:53 -05:00