13
0
Commit Graph

7405 Commits

Author SHA1 Message Date
f02610b47c LV2 patch amends:
* fix Label (user readable key)
* check if patch range is a file Path
* free some lilv-nodes (plug small mem leak)
2014-10-31 19:42:28 +01:00
90872c2b31 more changes for rectangle outlining 2014-10-31 10:56:08 -04:00
a942493565 comment fix and expansion re: Canvas::Rectangle outline 2014-10-31 10:56:08 -04:00
b8cea19b95 prototype [LV2]patch-change support for generic plugin UIs. 2014-10-31 03:26:47 +01:00
973d40e3ac Add support for USE_CAIRO_IMAGE_SURFACE when building with MSVC
(new preprocessor directive - greatly improves CPU loading)
2014-10-29 17:36:30 +00:00
dc39448a22 turn pixfader into a cairowidget 2014-10-28 02:18:46 +01:00
b04414d170 allow to use cairo-image/software surface for canvas & cairowidgets 2014-10-28 02:15:10 +01:00
6dc3a4bf61 remove unused old API 2014-10-28 01:27:14 +01:00
e02efddb21 skip meter re-draw when no pixels are changed. 2014-10-25 17:28:14 +02:00
a6ceff61dd proper solution for variable-args jack_client_open() 2014-10-25 17:28:13 +02:00
9239a49a32 Add some newly introduced source files to our MSVC project (gtkmm2ext) 2014-10-24 18:45:53 +01:00
85eda0a5f3 Add some newly introduced source files to our MSVC project (jack_audiobackend) 2014-10-24 18:45:52 +01:00
3d39689769 Some minor bits of casting to keep MSVC happy when building 'backends/jack/weak_libjack.c' 2014-10-24 18:45:51 +01:00
f900711136 port changes to ARDOUR::Location and ARDOUR::Locations APIs from Tracks to Ardour.
Fixes deadlocks caused by mutex on Locations list, and clarifies the purposes and uses of the class-level and
object-level change-related signals.
2014-10-24 12:18:46 -04:00
2f4a8cf693 avoid const cast warning 2014-10-24 12:18:46 -04:00
65036cf3eb add #include that had gone unnoticed before 2014-10-24 12:18:46 -04:00
b52304661f fix screwup in prev commit-diff 2014-10-24 17:19:28 +02:00
5e7f935a27 add explicit construction (for MSVC) and some debug messages 2014-10-24 17:15:03 +02:00
25a6aa57a3 fix jack transport return value 2014-10-24 16:19:44 +02:00
e025cc008c use x-macros to simplify weak-jack implementation 2014-10-24 15:18:38 +02:00
ad09be8c78 fix libjack names 2014-10-24 14:36:04 +02:00
1e357b5109 fix 64bit compile with old gcc 2014-10-23 20:42:02 +02:00
2bc3ec6ab3 add new Gtk2mmext::EmScale class for measuring font-based sizing 2014-10-23 13:21:04 -04:00
9a60bb58b2 skip unavailable backends early on. 2014-10-23 16:53:14 +02:00
d991bb10ca add 'available' interface to the AudioBackendInfo
If a backend can be loaded, it does not mean that it can be used;
e.g. weak-linked jack-backend if libjack is not available.
2014-10-23 16:53:14 +02:00
f3ff1b9669 weak/runtime jack linking: load libjack dynamically at runtime 2014-10-23 16:53:13 +02:00
730e09ce65 another round of compiler warning fixes 2014-10-23 05:31:40 +02:00
c6a3d6bc48 small round of compiler warning fixes 2014-10-23 03:43:04 +02:00
f7211ff8f7 fix jack/mingw compilation 2014-10-22 23:57:55 +02:00
679356c5ee fix delivery of MMC events under split process cycle conditions 2014-10-22 17:07:11 -04:00
e32a8e8260 require a timestamp on MIDI::MachineControl::send() 2014-10-22 17:07:11 -04:00
a289947b4f fix timestamps for immediate MIDI events to deal with split process cycle conditions 2014-10-22 17:07:11 -04:00
bd97450ef8 error/debug output when dropping MIDI event due to timing now shows MIDI bytes 2014-10-22 17:07:11 -04:00
aafd1d77e9 remove unused code 2014-10-22 17:07:11 -04:00
68458cde69 fix all 4 backends' failure to include the main "backend" thread when computing ::in_process_thread() 2014-10-22 17:07:11 -04:00
aa0effb4cb ignore negative value locates and MMC locate commands 2014-10-22 17:07:11 -04:00
3ddd797e46 remove obsolete jack includes in libardour 2014-10-22 16:56:12 +02:00
fbaae45eb1 stopgap solution for VST plugins that call audioMasterWantMidi during effOpen
audioMasterWantMidi needs plugin _info, but _info is currently only
available after instantiating the plugin in LXVSTPluginInfo::load().

vstfx_instantiate() -> effOpen -> [plugin] -> vst_callback(..,opcode=6,..) -> crash
2014-10-20 23:30:49 +02:00
825e2c823c add support for VST plugins without any parameters 2014-10-20 23:30:48 +02:00
ffde2fb5f9 OS 10.10 compile fixes
* fix clang pickiness regarding boolean
 * ignore ‘verify’ macro
 * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
2014-10-19 23:15:13 +02:00
ab445a0e28 windows: don’t popup message box when libjack is not found 2014-10-17 10:58:49 +02:00
d34bd9e6a0 fix midi automation sliders
Allow controls to work without a list. see also 34c1465 and b469cd2
2014-10-16 21:21:45 +02:00
0477d11476 when cancelling an import, call DropReferences so that the Session forgets about the new sources.
Not doing this leaves the sources in the session list and then the session fails to open on next load
because the files are not there.

Arguably we should not announce the new files until they are complete, but this is a simpler fix for now.
2014-10-15 21:12:35 -04:00
49b9d22217 remove debug output 2014-10-15 19:08:46 -04:00
5d53335300 when flushing notifications/signals from an ARDOUR::Playlist, emit the RegionAdded/ContentsChanged signals first so that when LayersChanged is sent, the receivers know about all the new regions 2014-10-15 18:44:22 -04:00
ab658d7ca1 add mutex/lock to all Evoral::SMF methods that use _smf/libsmf, to avoid inadvertent corruption via multithreaded access.
Serialization of Session::save_state() will already protect against most of this, but there is really no
good reason why Evoral::SMF's API should require single-threaded/explicit serialization.
2014-10-15 18:44:22 -04:00
7e764ea405 allow internal generators to make noise, even if we are not rolling, and using auto-input 2014-10-15 11:09:00 -05:00
8dc4187f1a allow zero-latency sessions
e.g. sessions with disconnected master-out,
or Dummmy (both jack and ardour) with no latency.
2014-10-15 15:49:49 +02:00
76edbdf5dc make backend selection by product name more explicit 2014-10-14 16:58:11 -04:00
d3a4a92bd5 Containers should not consider the size of invisible items when computing their own bounding boxes.
This fixes issues related to the rulers container believing it was taller than it actually is, and possibly other issues also
2014-10-13 22:40:08 -04:00
b945fa69ba remove default/testing tooltips from the canvas 2014-10-13 13:53:07 -04:00
7263877f06 tweak implementation of Session::audible_frame() to be a little more defensible, and correct problems with record align/playhead position while disconnected from physical outputs 2014-10-12 23:09:35 -04:00
848db8fbd5 fix scanning of VST shell plugins 2014-10-11 22:19:23 +02:00
250ea066ef revert 8ca546e - original version was correct (note added) 2014-10-11 15:00:52 +02:00
8525a0b258 add a Dummy Backend Loopback mode: 2014-10-11 14:47:35 +02:00
8ca546ec88 fix LTC generator latency compensation. 2014-10-11 11:15:08 +02:00
fa9780ba67 subtle changes to accomplish two goals (1) playhead should stop where the user pressed stopped (2) captured regions should end where the playhead ends 2014-10-10 13:22:50 -04:00
d1e303247b ensure registration of all SessionEvent types 2014-10-10 13:22:50 -04:00
446a8b69d9 make output of SessionEventManager::dump_events() a bit more readable 2014-10-10 13:22:50 -04:00
472900f4ff cleanup unused nested regions:
This and two previous commits fixes #5979
2014-10-10 14:12:48 +02:00
5b25dbba03 Properly count nested regions 2014-10-10 14:11:43 +02:00
9df1d1ef2e re-reference regions during uncombine - #5979 2014-10-10 14:05:49 +02:00
b4cf5e279b fix dup free in waves/midi:
The PortMidi queue just holds a pointer to the midi events.
The same Midi events are free()d during WavesMidiBuffer::clear()
which is called at cycle start for every buffer and in the dtor
of the WavesMidiBuffer.
2014-10-09 09:48:54 +02:00
4af4938c25 fix wavesbackend midi timing 2014-10-09 09:43:53 +02:00
aac3ca5521 initialize some uninitialized vars - closes #5974 2014-10-08 19:16:21 +02:00
8d12ebd972 MSVC - add support for 'HAVE_NEW_LV2'
(after updating to the latest versions of serd, sord, sratom and lilv)
2014-10-08 15:11:27 +01:00
50ab3db0ca When building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is 2014-10-08 15:11:26 +01:00
2d04ac9796 Add a newly introduced header file to our MSVC project (dummy_audiobackend) 2014-10-08 15:11:25 +01:00
000609901b add correct copyright statements to all files in Waves backend except those derived from portaudio/portmidi
This follows the letter sent from Waves Audio Ltd. to Paul Davis dated February 20th 2014 agreeing to release this code
under the GNU Public License, version 2, with copyright owned by Waves Audio Ltd
2014-10-07 16:17:34 -04:00
118adc286b fix crashes for plugin using maxBlockLength during latency compute. 2014-10-07 21:48:04 +02:00
ce818efe37 avoid a set of calls to gettext() and/or cousins from global constructor scope 2014-10-07 14:27:12 -04:00
a7da906a79 NOOP, proper label for flat carbon header includes 2014-10-07 16:53:10 +02:00
7bfa25777b OSX 10.9.5 compile fixes - part one 2014-10-07 14:46:06 +02:00
94e7015c70 64bit windows VSTs 2014-10-05 18:11:11 +02:00
114296d958 fix VST user cache typo: info/blacklist 2014-10-05 02:57:14 +02:00
adefca9dd2 use single newline char in VST info files.
windows writes \r\n to non-binary files and the VST
info parser does not handle that case.
2014-10-04 18:01:43 +02:00
29d89f0128 update VST scanner lookup (prepare for moving to BINDIR) 2014-10-04 17:57:05 +02:00
0af091edf3 fix ming32 build&install for asio backend 2014-10-03 00:46:34 +02:00
b376042166 Add UK English translation for libardour 2014-10-02 18:03:19 +01:00
44f71ce599 Text tweaks and typo fixes 2014-10-02 18:03:19 +01:00
8fe3360c35 fix clock_gettime detection
fixes compilation with mingw64 gcc-4.9.1
2014-10-02 02:53:35 +02:00
aeda6cbea9 add --with-wavesbackend config option (disabled by default) 2014-10-01 18:28:47 +02:00
3d12a4da82 fix deep obscure problem with loading multiple backends on OS X
all backends export a symbol declared as "extern "C" ARDOURBACKEND_API ARDOUR::AudioBackendInfo* descriptor ()".
dlopen'ing the backend apparently pushes the symbol "descriptor" into the single flat global namespace that we use
to be like other unix-like systems. this means that if a backend calls its OWN function named "descriptor", it
is indeterminate which one it will be, since the symbol will refer to the function first loaded by the runtime
linker. If the backend is not the first one discovered, this call to its own "descriptor" function will invoke
the function defined by another backend, even though these are supposed to have local scope only according
to our arguments to dlopen().

This fix doesn't try to fix the linker or namespace - it just makes sure that the WavesAudio backend doesn't
invoke its own descriptor() function, which it never really needed to do anyway.
2014-09-30 22:57:05 -04:00
cd60fd9dfe untested fix for compiling waves audiobackend on case-sensitive FS with mingw. 2014-10-01 04:02:30 +02:00
9838616679 NOOP, re-indent 2014-10-01 03:25:03 +02:00
32e05fa640 update backends for API change in 8d59afb048 2014-10-01 03:24:54 +02:00
a927b79c26 Implement the new pthread macros (for the Waves audio backend) 2014-09-30 21:00:35 -04:00
3033c1cc54 Re-introduce our pthread macros (after fixing an earlier typo)
these are so we can differentiate between 'libpthread' and 'libpthread-win32' (whose implementation is subtlely - though annoyingly! - different)
2014-09-30 21:00:35 -04:00
8d59afb048 copy over current Waves version of their backend, along with minor changes in libs/ardour and libs/backend/jack to fit with API changes 2014-09-30 21:00:34 -04:00
38e975d6b1 tweak backends wscript for cross-compiling with mingw 2014-09-30 21:00:34 -04:00
8e01b411b2 copy over current Waves version of their backend, along with minor changes in libs/ardour and libs/backend/jack to fit with API changes-a 2014-09-30 20:23:45 -04:00
fdf83c620d use .exe suffix for VST pluin scanner app on windows 2014-10-01 00:12:45 +02:00
5b4c3aa226 win32_pthread is relevant for both: MSVC & MINGW 2014-09-30 19:08:16 +02:00
1bde96be09 there's no random() on window, but no matter 2014-09-30 19:08:16 +02:00
822b5443fe add missing header include (for snprintf) 2014-09-30 19:08:16 +02:00
f44501504c partial fix for #5973 (multi-track midi file import) 2014-09-28 20:36:04 +02:00
56f5bcffce copy plugin-state from template on session creation (amend 3353b48) 2014-09-28 19:25:40 +02:00
3353b48646 fix templates: copy plugin state 2014-09-28 18:24:08 +02:00
6fbd0a62e4 recursive file copy function 2014-09-28 18:24:08 +02:00
b4438942ca fix compiler warning from missing default statement in switch 2014-09-27 18:09:22 -04:00