Commit graph

10411 commits

Author SHA1 Message Date
Robin Gareus
d53d9b01ab prepare route pin display (shared mixer + editor-mixer window proxy) 2016-05-10 20:54:11 +02:00
Paul Davis
4963d65206 track geometry via configure events for tabbable own-windows 2016-05-10 09:46:12 -04:00
Paul Davis
ae7cc64377 copy-n-paste the ARDOUR_UI toggle-roll code into BasicUI (for Faderport and others) 2016-05-09 08:17:23 -04:00
John Emmas
914eee9f8c Accommodate newly introduced source(s) in our MSVC project (libardour) 2016-05-08 11:56:51 +01:00
Paul Davis
672528baf4 fix shared_ptr<Route> management in Mackie support so that deleted routes are destroyed 2016-05-07 13:36:04 -04:00
Paul Davis
a232673454 make boost shared_ptr debugging a little easier to turn on/off 2016-05-07 13:36:04 -04:00
Robin Gareus
e59ab55831 a few strategic LocaleGuards..
..to prevent switching forth and back during  individual
::state(), ::set_state() when loading/saving the session or locating.
2016-05-07 17:16:59 +02:00
Robin Gareus
2066afe28c fix LV2 locale guard (missed in 6d343ba search/replace) 2016-05-07 15:38:17 +02:00
Robin Gareus
a6e4494482 Revert "Add a global state localeguard (and one for route templates)"
This reverts commit 2b7a047e92.
2016-05-07 12:20:40 +02:00
Robin Gareus
6d343ba3c6 fix LocaleGuard contstructor (3dc77280) 2016-05-07 12:19:41 +02:00
Robin Gareus
f445ba8bdc locale debugging 2016-05-07 12:15:12 +02:00
Robin Gareus
3d7cbe9d94 trying to get to the bottom of the decimal comma. 2016-05-07 01:22:32 +02:00
Robin Gareus
2b7a047e92 Add a global state localeguard (and one for route templates) 2016-05-07 01:11:28 +02:00
Robin Gareus
86c76656cc add a locale-guard to panner state 2016-05-07 01:06:20 +02:00
Robin Gareus
d8ac5eddf7 add missing include 2016-05-06 21:25:21 +02:00
Robin Gareus
514da9881d convert WinMME Device names to UTF-8 2016-05-06 20:59:24 +02:00
Robin Gareus
70160db4be allow lua to construct PresetRecords 2016-05-06 16:02:24 +02:00
Robin Gareus
766a120a3c add API to load Instrument Preset when creating a Midi track 2016-05-06 16:02:04 +02:00
Robin Gareus
864f9e497d DnDTreeview: allow to handle multiple drag-targets 2016-05-06 14:51:29 +02:00
Robin Gareus
7fed1ce085 what an oversight! 2016-05-05 23:44:33 +02:00
Robin Gareus
3dc7728038 we always only use the "C" locale when saving. 2016-05-05 21:49:56 +02:00
Robin Gareus
2624c0966b remove assert()s from LocaleGuard 2016-05-05 20:29:28 +02:00
Paul Davis
bb99df867f minor comment change 2016-05-05 14:21:55 -04:00
Paul Davis
25603d810f spelling fixes and an explanatory comment 2016-05-05 14:21:02 -04:00
Robin Gareus
f2c5522f0f rework locale-guard for C and C++ locales
let's hope querying the C-locale is more lightweight than setting it
on windows.
2016-05-05 20:02:48 +02:00
Robin Gareus
a644212506 no need to force a change here.
Fixes an issue with Mixbus where set_active() is a NO-OP for mixbusses.
2016-05-05 18:33:50 +02:00
Paul Davis
17ace643e4 OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one) 2016-05-04 23:09:45 -04:00
Robin Gareus
ffc9901807 fix "warning: this decimal constant is unsigned only in ISO C90" 2016-05-05 01:28:17 +02:00
Robin Gareus
8882ef79d3 use existing API to find the instrument 2016-05-04 17:52:17 +02:00
Robin Gareus
6236c201bd NO-OP, whitespace 2016-05-04 12:57:30 +02:00
Robin Gareus
e48da9d5d0 tweak cases where pin-mapping is reset & always sanitize map 2016-05-03 20:12:58 +02:00
John Emmas
dc1a2fbca7 MSVC won't compile 'const float _demolition[]' because it uses 'divide by zero' while initializing
Hopefully we can use INFINITY and NAN for the relevant initializers ?
2016-05-03 17:30:58 +01:00
John Emmas
a12288d9b5 Accommodate newly introduced source(s) in our MSVC project (audiographer) 2016-05-03 17:26:41 +01:00
Robin Gareus
ad4fe51255 handle single-bus, non-variable i/o Audio Units w/multiple configurations. 2016-05-03 18:17:29 +02:00
Robin Gareus
4c40fe8d04 another (non critical) concurrency issue:
Ignore latency-updates while removing tracks.

remove_tracks() calls disconnect_all() which can trigger the backend
to perform a latency-recompute in a different thread (process thread).
That calls Session::update_latency() which iterates over all routes
including the one(s) to be deleted.

At the same time disconnect_all() may propagate Port::PostDisconnect()
leading to a lock contention.

(no crash just a lot of unnecessary work. remove_routes() calls
update_latency_compensation() which triggers a recompute if needed)
2016-05-03 14:27:52 +02:00
Robin Gareus
255b5174c4 add a const method to check for existing key/value properties
handy to lookup up XMLNodes with "id" == ID w/o allocating memory.
2016-05-03 03:03:00 +02:00
Robin Gareus
42e2cc0976 use same tooltip timeout throughout Ardour -- part one 2016-05-02 20:24:46 +02:00
Robin Gareus
d01cb7910f Add loudness normalization to Export Format & Graph 2016-05-02 15:44:13 +02:00
Robin Gareus
7547f02c07 prepare loudness normalization 2016-05-02 15:44:13 +02:00
Robin Gareus
9d50074a99 fix aubio-onset detection parameters 2016-05-01 18:47:14 +02:00
Robin Gareus
e6b95a3d65 fix a Wsigncompare and 2 -Wuninitialized 2016-05-01 13:35:30 +02:00
Robin Gareus
4727fa337d fix: gcc4.2 / PPC compilation
no match for 'operator!=' in 'x != std::list<_Tp, _Alloc>::rend()
[with _Tp = long long int, _Alloc = std::allocator<long long int>]()'
2016-05-01 13:20:53 +02:00
Robin Gareus
82d1d7ef0b various transient-detection fixes (split region, trim, move, undo,..)
* all API calls use session-time (allow region-lists)
* per-region transients are separated in
  - Onset (Rhythm Rodent, Aubio)
  - User-added
  - internal/source (QM), used as fallback for next/prev (read-only)
2016-05-01 02:02:04 +02:00
Robin Gareus
791ac8f843 API call to be removed 2016-05-01 00:28:54 +02:00
Paul Davis
8b52b69810 make BasicUI (for control surfaces) loop toggle work like the GUI 2016-04-30 10:54:40 -04:00
Robin Gareus
6d49e24503 implement lua plugin presets 2016-04-29 18:34:27 +02:00
Robin Gareus
69bd02bd25 remove skeleton backend (superseded by portaudio) 2016-04-29 16:43:09 +02:00
Robin Gareus
69f99ee184 I wanna be nasty, I wanna be cruel,..
Somme disastrous signal generators for QA.
2016-04-29 16:10:09 +02:00
Robin Gareus
e56c8f0309 don't special case lua processors, use plugin-manager 2016-04-29 02:57:42 +02:00
Robin Gareus
17d782829e flush pending Session Events at session close
This prevents a memory leak: The session is closed.
The session-butler drops memory pool trash. The Engine keeps running.

Once the AudioEngine is taken down (sample-rate switch, or at exit),
the backend process-thread is terminated but there is no trash-can anymore.

If there are unprocessed SessionEvents, this calls
free_per_thread_pool() -> cp->parent()->add_to_trash (cp).
"parent()" in this case the trash-can the butler emptied.
2016-04-28 21:37:18 +02:00