Commit graph

12536 commits

Author SHA1 Message Date
Robin Gareus
b6768b4616 Update qm-dsp library (v1.7.1-20-g4d15479) 2017-04-01 21:13:57 +02:00
Robin Gareus
c0c24aff72 Hotfix crashes for [extreme] time-stretch -- #7305
e.g. stretch-shrink 3712 samples down to 1780.
The filter order defines nFact which can become larger than length - 2
leading to out-of-bounds array access.

e.g. m_ord = 2 -> nFilt = 2, nFact = 6;  process < 7 samples (here 6)
2017-04-01 19:16:12 +02:00
Ben Loftis
6b8be8fa71 Fix set-*-from-edit-range actions, when accessed from control surfaces. 2017-04-01 09:57:06 -05:00
Robin Gareus
727ac30dd2 Unregister ports at session close.
This fixes issues when re-loading a session without taking the
engine down.
2017-04-01 13:14:17 +02:00
Robin Gareus
d61683809d Connect route-template insert i/o ports #5778 2017-03-31 19:53:14 +02:00
Robin Gareus
f2c0b0ee3f Add an API to query if the audible frame is latent pending a locate
eg. at the end of a loop, the session may already be playing the
beginning of the loop. The TransportLooped signal was emitted.
Yet due to playback latency, the audible frame is still at the end of
the loop.

To interpolate the playhead position the UI needs to be able to know:
Relying on the TransportLooped signal is not sufficient because it
does not take playback latency into account.
2017-03-31 14:01:50 +02:00
Robin Gareus
7807869a68 Fix count-in for non 4/4 time signatures 2017-03-30 22:07:06 +02:00
Robin Gareus
478f26b2ad Count-in is a no-roll operation. 2017-03-30 22:07:06 +02:00
Ben Loftis
6e4eed51ca Shortcut editor: include a raw list of the currently-available actions in the printout. 2017-03-30 11:02:06 -05:00
Robin Gareus
ea8c6e9fc8 Fix hiding Lua __metatable -- prevent setmetatable() override 2017-03-30 05:06:34 +02:00
Robin Gareus
33b859a807 Add proper Lua bindings for RouteGroupList 2017-03-30 04:15:28 +02:00
Robin Gareus
412b6a4cb9 Lua: make external (static) functions available for const objects.
This fixes iterators on const std::lists<>& and const std::map<>&
2017-03-30 04:15:28 +02:00
Len Ovens
eb1bd9d8e2 OSC: don't skip when deleting cue observers 2017-03-29 16:24:43 -07:00
Len Ovens
8de580c123 OSC: Clear devices should clear cue observers as well. 2017-03-29 16:07:21 -07:00
Robin Gareus
c0b6d8bfdf Fix Patch Change Naming when plugins change (Route::reset_instrument_info) 2017-03-29 23:53:56 +02:00
Len Ovens
e7ca514887 OSC: reduce feedback noise for surfaces using /strip/list 2017-03-26 21:16:45 -07:00
Robin Gareus
b66d31891b Revert "profile instant.xml save"
This reverts commit e965e5edcd.
2017-03-27 05:08:30 +02:00
Paul Davis
196bdf8394 more fully disable gain adjustment sharing in a RouteGroup that is assigned to a VCA master 2017-03-26 14:42:28 +02:00
Robin Gareus
e965e5edcd profile instant.xml save
This does clutter up stderr, but only because instant.xml is arguably
saved much too often (and it's not really instant :)
2017-03-25 15:10:02 +01:00
Len Ovens
f5931457fb OSC: tell surfaces using /strip/list they need to rebuild after strip add/remove 2017-03-24 14:05:39 -07:00
Len Ovens
011c4a05d8 OSC: update /strip/list response to add aux, midi bus and VCAs 2017-03-24 13:07:03 -07:00
Robin Gareus
446041d6b9 Increase mempool for session-scripts
(bindings alone require ~800kB these days)
2017-03-23 19:05:53 +01:00
Robin Gareus
4a180e68ba Special case const std::string& Lua binding.
since 6dc3bdf, a const string reference would leave scope with Lua code
     fn("text")
calling a C++
     fn (const std::string&)
before the C++ function is called.
2017-03-22 16:59:02 +01:00
Robin Gareus
35dcd46d7d remove cruft (following 6dc3bdf) 2017-03-22 16:55:19 +01:00
Robin Gareus
a199477cf6 Improve plugin Ccategory consistency somewhat 2017-03-21 22:21:02 +01:00
Robin Gareus
1fe10c0e3e Relax LV2 plugin filter to substring (e.g. "Utility", "MIDI Utility") 2017-03-21 19:44:22 +01:00
Robin Gareus
500033b416 Debug NSView Exposure 2017-03-21 15:53:29 +01:00
Robin Gareus
5e9492b996 consolidate NSGLView 2017-03-21 15:53:29 +01:00
John Emmas
d294d03670 Accommodate newly introduced sources in our build projects (gtkmm2ext) 2017-03-21 10:31:03 +00:00
John Emmas
4d515ad086 The new class 'Gtkmm2ext::EventBoxExt' needs to be exportable when building with MSVC
(previously the c'tor was private and nothing was getting exported anyway)
2017-03-21 10:28:53 +00:00
Robin Gareus
85b5741081 Allow to selectively use NSGLView Canvas
Various GdkEvents are not yet handled correctly, eg. unpacking a widget
from its container does not unmap it, nor are remaining widgets in the
contained re-positioned (size allocation does not change, nor does the
mapping). This affects eg. Mixbus Strips
2017-03-21 05:37:44 +01:00
Robin Gareus
533a93daa6 match name of synthesized property (fixed i386 builds) 2017-03-21 03:46:40 +01:00
Robin Gareus
5cf95848e9 Fix gcc4 builds 2017-03-21 03:46:40 +01:00
Robin Gareus
d3e730abbf fix OSX/PPC compilation 2017-03-21 01:58:45 +01:00
Robin Gareus
d06de26a4f Towards a consistent render() API.
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45

  void render (cairo_t*, cairo_rectagle*)
  void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*)

ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context,
this improves overall API consistency.
2017-03-20 17:12:08 +01:00
Robin Gareus
60a0b8f645 Forward un/map events to NSGLView 2017-03-20 17:12:08 +01:00
Robin Gareus
c0828792f0 NSGLView: default to hidden, add API to un/hide 2017-03-20 17:12:08 +01:00
Robin Gareus
235631a618 Add a EventBox wrapper to forward unmap events. 2017-03-20 17:12:08 +01:00
Len Ovens
f69808b372 BasicUI moved toggle_click,toggle_roll and stop_forget from menu action to session calls 2017-03-19 23:09:45 -07:00
Robin Gareus
e307094af3 Allow CairoWidget to be backed by NSGLView 2017-03-20 05:19:38 +01:00
Robin Gareus
b5e613d453 Move NSGlView into libgtkmm2ext
This allows to re-use the concept with CairoWidget
2017-03-20 04:35:05 +01:00
Robin Gareus
b726255007 Fix OSX canvas when used without openGL NSView 2017-03-20 03:37:37 +01:00
Robin Gareus
5fe355af92 Use NSGLView with patched gdk
Special case Ardour's Canvas NSView to forward gdk-events
which are otherwise special-cased to read AU-views..
2017-03-20 02:15:15 +01:00
Robin Gareus
c371fc5115 Prepare NSView/OpenGL Canvas (to speed up rendering on [mac]OS[X]
This avoids Coregraphics (cairo_quartz_surface..) competely.
The openGL texture bypasses CG's slow argb_image and CGSColorMask
methods.
2017-03-19 22:49:17 +01:00
Len Ovens
7d41e542fe OSC: add feedback for /monitor/mute,dim,mono 2017-03-19 08:54:58 -07:00
Len Ovens
1af7e97fd0 basic_ui send midi_panic directly to session rather than through GUI 2017-03-19 07:27:24 -07:00
Len Ovens
b0e5ab1b81 OSC add /monitor/mute,dim,mono 2017-03-18 20:05:04 -07:00
Robin Gareus
1bfa74c0f9 fix copy/paste issue, typename is not needed here 2017-03-18 23:06:42 +01:00
Len Ovens
caae0546a7 OSC fix toggle_monitor_mute/dim/mono in basic_ui 2017-03-18 14:14:02 -07:00
Robin Gareus
a9ca7f649a Resolve copy-c'tor and assignment issue with TempoMap
There are various issues with copy-construction: no readlock is taken,
Tempo/Metric Sections were static-cast to non-const pointers and passed
as references...

This remove the [now] unused copy-c'tor, and fixes various const issues.
2017-03-18 21:33:40 +01:00