13
0
Commit Graph

20480 Commits

Author SHA1 Message Date
2074dbdbe2 freeze thread is not detached and needs to be joined 2016-05-24 03:33:11 +02:00
7aa85887da more inter-thread progress fixes; slight change of semantics:
Background thread now *must* set "done" as last step. (they already do
since various error conditions don't result in "done")

This fixes a race: background thread Session::write_one_track() sets "done"
to true. Editor::freeze_route () continues, sets current_interthread_info
to NULL. thread continues and tries to set current_interthread_info.done
before terminating -> Crash.

This also ensures that singleton threads created with
"pthread_create_and_store" remain unique.
2016-05-24 03:33:08 +02:00
cd5cd2f8f2 cont'd work & fix bug introduced in 03660573e
not every code path using InterthreadProgressWindow unsets cancel
after creating the Window.
2016-05-24 03:33:02 +02:00
6605b52c17 centralize rec-en sensitivity & prepare for rec-safe 2016-05-24 03:01:27 +02:00
f683f534a4 vamp API/ABI uses gcc4/5 specific C++ :( 2016-05-24 00:02:53 +02:00
491d183c78 lua script to remove all unknown processors 2016-05-23 22:27:09 +02:00
207d9c81db some more route related lua bindings 2016-05-23 21:55:49 +02:00
455d4683f6 more harrison packaging 2016-05-23 16:46:08 +02:00
bc05c56fba add missing include 2016-05-23 03:50:43 +02:00
2b53558e66 remove misspelled unused define 2016-05-23 02:29:55 +02:00
1cf6661196 add a lua high/low pass filter with configurable slope 2016-05-23 00:43:55 +02:00
f03252cf88 possible fix or workaround[?] for pt track-name encoding 2016-05-23 00:05:02 +02:00
fd56c33f20 import audio/midi at "session start by default
Too many users report they import their first tracks and can't find them.

Previous default was "at file timestamp". If a file has no timestamp,
the import dialog shows "00:00:00:00" but in absence of a timestamp,
Editor::add_sources() first checks target tracks and adds add it after
the last region, then falls back to use preferred edit position as
insert point.

In the rare case where a file has timestamps it may show up a few hours
in the future.

conclusion: import-at-timestamp is not a good default.
2016-05-22 22:13:03 +02:00
afc1186759 NO-OP indent 2016-05-22 19:36:54 +02:00
1b3b42403b overhaul region/range spectrum analysis 2016-05-22 19:33:00 +02:00
ef365d0310 tooltips for export analysis -- russian-fraction lost challenge :) 2016-05-22 19:33:00 +02:00
39ba60aaef Make sure MSVC knows which version of 'floor()' we want 2016-05-22 15:53:16 +01:00
03660573e2 fix import-thread SNAFU
* pressing Esc or WM close button did not cancel import thread
 * proper Abort does not wait for import thread either

It was possible to launch a 2nd (and Nth) import thread, all sharing
the Editor's ImportStatus data-structure, all having the same
registered thread-name and same thread-pool name.  Plenty of room for
crashes.
2016-05-21 23:30:11 +02:00
9ad096b611 Dummy Backend evolution
- pretty port-names for Dummy generators: show frequency
- add 1/3 Octave spaced sine-wave generator
2016-05-21 22:38:39 +02:00
489cef0913 Revert "debug unconfiged plugins"
This reverts commit 125e2014aa.
2016-05-21 17:54:34 +02:00
eb35ba1d95 fix assert/crash if unknown processor's I/O mismatches
This can happen on OS X. Audio Units did not have
a MIDI bypass. Ardour adds an implicit bypass and existing
"unknown/missing" plugins after the instrument will see
a different i/o config.
2016-05-21 17:54:13 +02:00
f2f9c2303a fix initial engine state (windows: buffered-i/o; all: channelcount) 2016-05-21 16:24:35 +02:00
742ebe9975 const'ness -- just because 2016-05-21 16:24:30 +02:00
d6aa79bca5 complete lua DSP filter with parameter interpolation & comments 2016-05-21 16:24:15 +02:00
298abc5c8c "biquadratic" needs no camelcase - fixes API doc. 2016-05-21 16:23:35 +02:00
50d6f146f4 allow lua to access array at an offset 2016-05-21 15:55:14 +02:00
53c188beb3 keep DSP state variables finite. 2016-05-21 15:55:14 +02:00
e4a5c3609d When copying the PNG files from 'gtk2_ardour/resources', copy them to '$(TargetFolder/resources' rather than '$(TargetFolder/icons'
(otherwise the opening splash image doesn't get found)
2016-05-21 12:37:35 +01:00
722609da15 Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour) 2016-05-21 11:37:50 +01:00
8fcb19eb4c Don't copy the xpm pixmaps as they apparently aren't needed any more 2016-05-21 10:33:19 +01:00
126dbac5e5 Accommodate the fact that our Mixbus icons got moved to a new path 2016-05-21 10:33:18 +01:00
b0200b23f2 Accommodate the fact that 'msvc_resources.rc.in' got moved to a new path 2016-05-21 10:33:18 +01:00
61f2781983 clean up ArdourWindow
- gtk callbacks are protected, not public
- virtual d'tor (destroy window by ArdourWindow ptr)
2016-05-21 03:32:08 +02:00
331d9f7154 live signal analysis is for the processor -- not the plugin(s) inside 2016-05-21 00:01:11 +02:00
e82f0cb763 add an lua DSP example filter w/inline display 2016-05-20 23:43:47 +02:00
725665ac46 lua inline display error reporting 2016-05-20 23:15:58 +02:00
d7e590f9c8 add lua DSP transfer function calculation 2016-05-20 23:14:51 +02:00
125e2014aa debug unconfiged plugins 2016-05-20 17:34:37 +02:00
6815dc7ead towards an Instrument Setup/Replace workflow 2016-05-19 16:29:39 +02:00
77f3518571 add midi-bypass to re-configurable-i/o instruments 2016-05-19 16:29:23 +02:00
eda4662e15 fix lua instrument plugins 2016-05-19 16:29:20 +02:00
b4d4cb805e prepare plugin configuration and replacing instruments 2016-05-19 16:29:08 +02:00
e0846c6aee ...use shared backend function instead 2016-05-19 01:46:49 +02:00
f0fd7890a1 move "needs output port selector" (from pin-dialog) to backend 2016-05-19 01:46:11 +02:00
7e463bab6e consolidate add_processor code
* fixes drag/copy'ing sidechain sends (autodestruct)
* reduce duplicated code
* prepare for instrument replacement
2016-05-19 01:44:44 +02:00
a7d03731a2 initialize snap-mode dropdown text
"SnapOff" is the default, so no change is triggered when calling
set_active() and initially the dropdown/ardour-button remains blank.
2016-05-18 20:07:11 +02:00
098e8e551a Don't save instant while loading instant.xml
opening a recent session from a session can result in: Editor::constructed
and session_loaded() being true. A partial instant_save can occur (not
to mention: invalid XMLnode iterators)
2016-05-18 20:06:20 +02:00
69d644e979 add locale guards for export format 2016-05-18 17:35:52 +02:00
283376db4c bypass plugin(s) - not processor (plugin-insert keeps mapping) 2016-05-18 17:35:38 +02:00
5ac35d47d6 some more mixbus backports (NO-OP for ardour) 2016-05-17 18:19:26 +02:00