Commit graph

6739 commits

Author SHA1 Message Date
Paul Davis
7fec991077 fix thinko in declaration of ARDOUR::PortEngine::get_port_by_name() 2013-10-28 09:46:59 -04:00
Nils Philippsen
5f00d2f3a7 allow linking unbundled versions of some libraries
(libltc, rubberband, taglib, vamp-sdk)
2013-10-28 09:06:09 +01:00
Robin Gareus
17dc72d08e silence warning for ancient libc users&devs :)
string.h 'index' is a global declaration
marked legacy in 2001 and removed in posix.1-2008
2013-10-27 17:03:49 +01:00
Robin Gareus
2cad99bf39 add notes about inlined lv2 atom/util.h functions 2013-10-27 09:56:07 +01:00
Robin Gareus
be6d6231fb expand tabs in reaonablesynth code 2013-10-27 09:52:46 +01:00
Robin Gareus
caa7c3b579 mark some unused variables -- fewer compiler warnings 2013-10-27 09:51:08 +01:00
Robin Gareus
dcd6103231 make reasonable synth a bit more piano-like.
(overtone + decay time)
2013-10-26 17:33:07 +02:00
Robin Gareus
e451411719 remove c99'ness from rsynth.c - should fix #5751 2013-10-26 16:42:27 +02:00
Paul Davis
5ebc4a99be don't request redraw of a Canvas item if it marked invisible 2013-10-25 13:29:23 -04:00
Paul Davis
ecd29c6d70 add Item::redraw() convenience method 2013-10-24 17:54:54 -04:00
Paul Davis
c3f1369cfd expand bounding box of all objects by 0.5 before computing intersection for render cycle; alter debug output 2013-10-24 17:14:12 -04:00
Paul Davis
c21ed2b877 fix drawing of a canvas LineSet object 2013-10-24 17:13:22 -04:00
Paul Davis
9d2e4fbec6 fix computation of rectangle bounding box 2013-10-24 17:13:03 -04:00
Paul Davis
097b781209 fix computation of canvas text item bounding box 2013-10-24 17:12:28 -04:00
Paul Davis
cfafa610f0 fix MMC
MTC and MIDI Clock port input handling was moved into the process/RT thread(s) during audioengine work, but MMC was
left orphaned. Add it to the port(s) handled by the MIDI UI thread.

Also, remove PortChange request from MidiUI because it has no meaning anymore
2013-10-23 15:38:02 -04:00
Colin Fletcher
a18db90264 Report an error to stderr if creation of jack command line fails.
Output a simple message to stderr if get_jack_command_line_string() still
fails for any reason.
2013-10-23 19:32:54 +01:00
Colin Fletcher
70f0cfdb3b Don't ever pass -d for device name to dummy jackd driver 2013-10-23 19:32:54 +01:00
Colin Fletcher
903d728b9c Fix setting playback & capture channel counts for jackd dummy backend.
Unlike all the other jack backends which allow setting the number of inputs and
outputs with -i & -o, the dummy backend uses -P & -C for this. Make the jackd
command line use these options when the dummy backend is requested with a
specified input or output channel count.
2013-10-23 19:29:57 +01:00
Colin Fletcher
ac81ea642e Don't fail jackd command line creation for jack dummy backend.
The dummy jackd backend doesn't require a device to be specified, so much
of the error checking in get_jack_command_line_string() is irrelevant, if
not actively wrong, when the dummy backend is specified.

Only perform the checks if the chosen jack backend is not the dummy.
2013-10-23 19:27:09 +01:00
Robin Gareus
4316eda89f remove fuzzy and obsolete translations 2013-10-23 20:01:23 +02:00
Robin Gareus
da1a9bbade make fixed IO ports untranslatable
Outdated and fuzzy translations of MTC, MTC, LTC, etc caused
various issues (duplicate jack port names, exceptions, crashes).
Functionality should not be affected by translations (for now).
2013-10-23 19:59:26 +02:00
Robin Gareus
20c20b7ddf Fix midi-note length when quantizing a swing rhythm
Note: 'swing' probably requires a 2nd iteration:
first quantize notes to the grid, then apply beat shift.
2013-10-23 19:59:26 +02:00
Paul Davis
5ea6b4420b slightly more information in group render DEBUG_TRACE output 2013-10-23 10:39:26 -04:00
nick_m
be69bf15dd New routes are placed after highest selected route. 2013-10-24 01:27:13 +11:00
Paul Davis
d135c4dc3a fix merge conflicts with master 2013-10-23 08:47:57 -04:00
Robin Gareus
75271a17d8 relax requirement on lv2 stack 2013-10-23 13:45:28 +02:00
Paul Davis
192f22d89e fix confusion in Canvas::LineSet over window vs. item coordinates that affected redraw (or not) of MIDI track note lines when the canvas origin != 0 2013-10-22 21:12:47 -04:00
Robin Gareus
9b086e18b5 fix midi quantization - part two
include position offset in rounding
2013-10-23 02:12:50 +02:00
Robin Gareus
011c8a561f initialize plugin param descriptor struct 2013-10-23 01:23:21 +02:00
Paul Davis
664e715a00 merge from master 2013-10-22 15:29:44 -04:00
Paul Davis
3f15584749 Merge branch 'unify_display_ordering' of https://github.com/nmains/ardour 2013-10-22 14:33:21 -04:00
Paul Davis
ed42f3359b Merge branch 'miscfix' of https://github.com/mojofunk/ardour 2013-10-22 14:32:57 -04:00
Robin Gareus
0029ee40b6 honor LV2 units:midiNote: display Note name instead of integer 2013-10-22 17:28:49 +02:00
Paul Davis
cfe42bc4ea fix issues with recording while synced to JACK (non-pure-virtual method added to AudioBackend) and remove pause() from AudioEngine/AudioBackend APIs 2013-10-21 16:24:24 -04:00
Paul Davis
613fc12e73 add default sample rate and buffer size methods to AudioBackend 2013-10-21 11:33:38 -04:00
Paul Davis
3e4b608724 fix endless messages about MIDI events being dropped.
track-owned MIDI port buffers (at the Ardour level) get ::flush_buffers() called twice, once by Delivery::flush_buffers() which is called
at the end of MidiTrack::rol() to push data out in graph order, and then finally as a last-chance effort in PortManager::cycle_end().

This should not cause a repeated attempt to write the same data, but it was. Fixed by marking the buffer empty once its data has
been flushed into a backend port buffer.
2013-10-21 11:24:31 -04:00
Tim Mayberry
5d8425c3df Remove random character at start of wscript file 2013-10-21 10:42:20 +10:00
Robin Gareus
78e3864c5d add missing waflib include to rsynth.lv2 2013-10-20 17:29:03 +02:00
Robin Gareus
9faae9c8a3 bundled LV2 plugin build and deployment 2013-10-20 17:24:59 +02:00
Robin Gareus
d6e2e34025 fix typo (rsynth.lv2 configure) 2013-10-20 15:28:13 +02:00
nick_m
5b62e88fbf Unify editor / mixer ordering. 2013-10-21 00:19:43 +11:00
Robin Gareus
f5c386bbb4 add reasonablesynth.lv2
A reasonably simple synth to allow new users to 'hear midi'.
This is a first step. It still needs proper install and bundling.
2013-10-20 04:31:07 +02:00
Tim Mayberry
b97ab7d7bc Statically link libtimecode into libmidi++ instead of libardour
This is necessary to get the libmidi++ test to work as libmidi++ has
unresolved symbols in libtimecode. This was not a problem when libtimecode
was statically linked into libardour if the executable depended on both
libtimecode and libardour as the symbols would get resolved.

This is not true for the midi++ test case as it doesn't depend on libardour

Also as libmidi++ only references symbols from one object file in the
libtimecode static archive only that object file gets included/exported
from libmidi++.

This is fixed by adding a dummy reference to a symbol in the other object
file in the libtimecode static archive.
2013-10-20 09:27:35 +10:00
Paul Davis
5e5c716146 Merge branch 'master' into cairocanvas 2013-10-18 15:39:12 -04:00
Paul Davis
c4b1a5504e fix missing Click outputs for new sessions 2013-10-18 15:28:10 -04:00
Paul Davis
f85c67501c reverse the visibility.h files assumptions that we don't build shared libs by default
This avoids having to define define LIBFOO_DLL=1 all over the place. If we ever go with static libs we will
need to define LIBFOO_STATIC=1 but hopefully in some central location like the top level wscript.

Oh, and I also dropped support for gcc older than version 4.x because ardour will already not build
on such an old version.
2013-10-18 11:50:44 -04:00
Paul Davis
683496c501 use libltc and libtimecode as static libs, and upgrade to waf 1.7
This is slightly awkward. It is important that we only link once to the static lib. Doing this at executable link time did not
work, possibly because waf insisted on putting the two static libraries at the front of the link list. So instead libardour
is now the point where linkage to these libraries occurs (and nowhere else). This should never be changed unless the change
just moves the linkage point to another location.

Also fix a bug with the libardour version tha was picked up by waf 1.7
2013-10-18 11:11:59 -04:00
Paul Davis
6da4ad80be convert libtimecode into a static lib 2013-10-18 11:08:53 -04:00
Paul Davis
d699745a4d convert libltc into a static lib 2013-10-18 11:08:44 -04:00
John Emmas
b855e5f322 Merge remote-tracking branch 'remotes/origin/exportvis' into windows+cc
Conflicts (hopefully resolved):
	gtk2_ardour/wscript
	libs/ardour/ardour/audioregion.h
	libs/ardour/ardour/debug.h
	libs/ardour/ardour/directory_names.h
	libs/ardour/ardour/filesystem_paths.h
	libs/ardour/ardour/session_event.h
	libs/gtkmm2ext/gtkmm2ext/utils.h
	libs/panners/1in2out/wscript
	libs/panners/2in2out/wscript
	libs/panners/vbap/wscript
	libs/pbd/pbd/debug.h
	libs/pbd/pbd/file_utils.h
	libs/pbd/pbd/pathexpand.h
	libs/pbd/pbd/ringbuffer.h
	libs/pbd/pbd/ringbufferNPT.h
	libs/pbd/pbd/search_path.h
	libs/pbd/pbd/stacktrace.h
	libs/pbd/pbd/uuid.h
	libs/pbd/pbd/uuid_boost.h
	libs/surfaces/control_protocol/control_protocol/basic_ui.h
	libs/surfaces/control_protocol/control_protocol/control_protocol.h
2013-10-18 10:03:22 +01:00