13
0
Commit Graph

9149 Commits

Author SHA1 Message Date
322f1c7d0d LV2: amend previous commit, respect replicated plugin instances
When a plugin is replicated (eg. mono plugin on a stereo-track),
configure_io() is only called for the first instance.
The 2nd instance will not have dedicated buffers but re-use copies
of the first instance. Should the 2nd instance use a LV2 worker-thread or
local communication ports they can not be shared with the first instance.
-> this patch allocates Atom-buffers for each instance.

PS. this still needs more work; there is only one UI instance for
all plugin instances. messages from the UI should go to all
instances.

git-svn-id: svn://localhost/ardour2/branches/3.0@13148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:40 +00:00
198efb82bc LV2: allocate dedicated buffers for [non-midi] event-ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@13147 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:38 +00:00
9ab45f37c6 LV2 worker: prevent corruption of ringbuffer
git-svn-id: svn://localhost/ardour2/branches/3.0@13146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:35 +00:00
a8f0c3255f fix LV2 worker
start worker thread after _sem and _exit have been initialized.
stop thread when plugin is removed.

git-svn-id: svn://localhost/ardour2/branches/3.0@13145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-27 04:08:48 +00:00
0a834da466 dedicated LV2 non-MIDI atom-event-port handling
git-svn-id: svn://localhost/ardour2/branches/3.0@13144 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-27 04:08:45 +00:00
7b7140f5ed Create and realize LV2 UI container before instantiating (required for proper embedding in some situations).
git-svn-id: svn://localhost/ardour2/branches/3.0@13140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-21 19:29:19 +00:00
7baf499ca7 fix long-option: --no-splash = -n (and test git+svn first-commit)
git-svn-id: svn://localhost/ardour2/branches/3.0@13139 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-21 17:44:48 +00:00
d110d07e07 Fix some const-violating casts.
git-svn-id: svn://localhost/ardour2/branches/3.0@13138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-18 15:56:48 +00:00
0cba3886da Add debug trace for LV2 like the other APIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@13137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-18 15:49:32 +00:00
4b053d06f7 LV2 log extension support.
git-svn-id: svn://localhost/ardour2/branches/3.0@13135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-17 03:05:06 +00:00
fc51a1559a Fix const violating case.
git-svn-id: svn://localhost/ardour2/branches/3.0@13134 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-17 03:03:55 +00:00
89741cf0e9 make --disable-plugins/-d work again, probably
git-svn-id: svn://localhost/ardour2/branches/3.0@13131 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-16 02:06:18 +00:00
5722daf381 undo that last commit
git-svn-id: svn://localhost/ardour2/branches/3.0@13126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 17:03:22 +00:00
f765f0c857 fix for OS X builds with new prototype C warning flags
git-svn-id: svn://localhost/ardour2/branches/3.0@13125 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 17:02:37 +00:00
760ccbabfb add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, and fix const cast warnings generated by new flags
git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 15:57:09 +00:00
69ca705286 fix erroneous use of i18n.h in a header file
git-svn-id: svn://localhost/ardour2/branches/3.0@13123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10 15:56:25 +00:00
e61c2aeda3 test a different approach to propagating plugin parameter changes (VST only for now)
git-svn-id: svn://localhost/ardour2/branches/3.0@13122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 17:59:43 +00:00
5ce7e740c4 when sending notice of a change in a plugin parameter value, send the current value
git-svn-id: svn://localhost/ardour2/branches/3.0@13121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 17:37:23 +00:00
3b250c5475 more vst parameter related stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@13120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 17:09:05 +00:00
ff2fac11a0 more vst parameter related stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@13119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 16:55:56 +00:00
3d07cbc37f VST parameter setting tweak
git-svn-id: svn://localhost/ardour2/branches/3.0@13118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 15:57:04 +00:00
15f58343f6 use new floateq() to check VST plugin parameter equality
git-svn-id: svn://localhost/ardour2/branches/3.0@13117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 15:47:16 +00:00
5bfa705ff7 new file containing very clever code for floating point "equality" comparisons
git-svn-id: svn://localhost/ardour2/branches/3.0@13116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 15:46:54 +00:00
f19e7bd238 more VST parameter debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@13115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-09 01:06:32 +00:00
5ffce5b8c9 some VST parameter mgmt debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@13114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-08 22:27:12 +00:00
d7da12285f Fix more tab width assumption mess caused by Paul's misconfigured editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@13113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-08 00:21:05 +00:00
cf3ae3dec1 Support new LV2 buf-size extension if a new enough (currently svn) LV2 is present.
git-svn-id: svn://localhost/ardour2/branches/3.0@13112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-08 00:16:30 +00:00
af4589e4bc Set splash screen to non-resizable so it displays correctly in smart window managers.
There is an attempt in the code to handle the situation of being allocated more space, but it does not work correctly.  The splash isn't resizable anyway, this fix makes it appear as it should.

git-svn-id: svn://localhost/ardour2/branches/3.0@13111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-07 23:56:17 +00:00
ee80d2a95f Use accelerator key of "/Editor/set-playhead" action to position playhead in editor summary pane, rather than hard-coding the default accelerator of 'p'.
git-svn-id: svn://localhost/ardour2/branches/3.0@13106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-02 10:30:48 +00:00
9743340fa3 trying to track down why undo doesn't remove xfade rendering on OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@13102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-29 23:50:00 +00:00
611dcdd249 allow resizing of startup wizard window
git-svn-id: svn://localhost/ardour2/branches/3.0@13101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-28 19:35:32 +00:00
Sakari Bergen
1573ea991d Add missing #includes to some tests
git-svn-id: svn://localhost/ardour2/branches/3.0@13100 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-28 09:08:29 +00:00
05d80120bf slightly more debugging for kbd accels
git-svn-id: svn://localhost/ardour2/branches/3.0@13095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-27 03:21:39 +00:00
a701365f38 comment code that stopped the keybd accel activation pathway if Keyboard::some_magic_widget_has_focus() is true. this was OS X only and (a) appears to be unnecessary (b) stops accels from working in windows that still handle some key events
git-svn-id: svn://localhost/ardour2/branches/3.0@13094 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-27 03:12:52 +00:00
2409f9ee5b reset default transport speed when leaving audition mouse mode
git-svn-id: svn://localhost/ardour2/branches/3.0@13088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-26 15:40:46 +00:00
e8c914f0fa if a request to reset the speed to zero as the default arrives when stopped, reset the default speed to 1.0 (and nothing else). hacky, could probably use Session::request_reset_default_transport_speed()
git-svn-id: svn://localhost/ardour2/branches/3.0@13087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-26 15:40:11 +00:00
4b38ddec62 replace deprecated g_atomic_int_exchange_add()
git-svn-id: svn://localhost/ardour2/branches/3.0@13086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-26 15:39:17 +00:00
3b566446b2 fix for fetching git revision, from robin gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-26 12:31:42 +00:00
3cd8138a41 convert from Glib:: to Glib::Threads for all thread-related API
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 17:48:55 +00:00
eb6e352dd0 we're not really a beta anymore
git-svn-id: svn://localhost/ardour2/branches/3.0@13083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 17:45:09 +00:00
b18fbc8c68 check for multiple tempo/meter marks at the same location, which somehow ardour2 allowed. don't handle it but at least report the error
git-svn-id: svn://localhost/ardour2/branches/3.0@13082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 13:12:25 +00:00
ce17c5727c add a new -DBOOST_SYSTEM_NO_DEPRECATED to try to remove the need to link against boost::system on boost 1.50 and above
git-svn-id: svn://localhost/ardour2/branches/3.0@13081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 11:16:19 +00:00
02fad6c375 bump glibmm required version to 2.32
git-svn-id: svn://localhost/ardour2/branches/3.0@13080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 10:56:33 +00:00
a26827d3b7 fix a SNAFU that occured when switch from ArdourDialog to ArdourWindow that removed the "Rmove shortcut" button from the keyeditor
git-svn-id: svn://localhost/ardour2/branches/3.0@13079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 00:32:59 +00:00
4904b33f45 tweak layout of export dialog to try to make it clear what to enter when setting up the filename. nice checking for the user having understood this is not yet in place
git-svn-id: svn://localhost/ardour2/branches/3.0@13078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 00:23:12 +00:00
917bf92de6 add export formats path to ardev_common.sh.in so that ./ardev runs find export formats
git-svn-id: svn://localhost/ardour2/branches/3.0@13077 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 00:22:30 +00:00
1cdf02ae2f remove use of boost::thread/boost::mutex; bump glibmm requirement to 2.30 in order to pick up Glib::Threads::Mutex which can be used statically, use that to replace boost::mutex; add required inclusion of <cerrno> in a couple of places
git-svn-id: svn://localhost/ardour2/branches/3.0@13076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 21:43:05 +00:00
e284a53349 quiet!
git-svn-id: svn://localhost/ardour2/branches/3.0@13075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 16:35:59 +00:00
0462a3e413 a bit more output from -D audioplayback, to help thorsten track down a crash/valgrind bug
git-svn-id: svn://localhost/ardour2/branches/3.0@13074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 15:32:47 +00:00
4bcc3d377c make rendering of the editor summary view a bit more efficient, enable key event handling there and make "p" do what it does in the main canvas (position the playhead) - this needs to be dynamic to follow bindings eventually
git-svn-id: svn://localhost/ardour2/branches/3.0@13073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 02:58:28 +00:00