ardour.git
10 years agochange clip level variable units to dB (conversion likely not complete yet)
Paul Davis [Mon, 30 Dec 2013 22:20:54 +0000 (17:20 -0500)]
change clip level variable units to dB (conversion likely not complete yet)

10 years agoadd new configurable parameter for waveview clip level
Paul Davis [Mon, 30 Dec 2013 20:55:38 +0000 (15:55 -0500)]
add new configurable parameter for waveview clip level

10 years agodefine signal associated with configurable clipping level to Canvas::WaveView
Paul Davis [Mon, 30 Dec 2013 20:54:09 +0000 (15:54 -0500)]
define signal associated with configurable clipping level to Canvas::WaveView

10 years agoadd configurable clipping level to Canvas::WaveView
Paul Davis [Mon, 30 Dec 2013 20:46:44 +0000 (15:46 -0500)]
add configurable clipping level to Canvas::WaveView

10 years agoignore invisible items when picking the current item
Paul Davis [Mon, 30 Dec 2013 19:02:43 +0000 (14:02 -0500)]
ignore invisible items when picking the current item

Also left behind some commented debug out that probably deserves a new PBD::Debug bit.

10 years agoadd (debug) names to various items
Paul Davis [Mon, 30 Dec 2013 19:01:56 +0000 (14:01 -0500)]
add (debug) names to various items

10 years agotry to rationalize logic for displaying/hiding regionview (time axis view item) name...
Paul Davis [Mon, 30 Dec 2013 04:10:54 +0000 (23:10 -0500)]
try to rationalize logic for displaying/hiding regionview (time axis view item) name highlights and text

10 years agoadd proper namespace to PBD::demangle for systems without execinfo
Paul Davis [Sun, 29 Dec 2013 18:59:37 +0000 (13:59 -0500)]
add proper namespace to PBD::demangle for systems without execinfo

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Sat, 28 Dec 2013 19:00:20 +0000 (14:00 -0500)]
Merge branch 'master' into cairocanvas

10 years agoconvert automation line from Canvas::Curve to Canvas::PolyLine (note: this means...
Paul Davis [Sat, 28 Dec 2013 18:52:46 +0000 (13:52 -0500)]
convert automation line from Canvas::Curve to Canvas::PolyLine (note: this means there is no actual use of Canvas::Curve now)

10 years agoslight optimization of PolyItem::render_path()
Paul Davis [Sat, 28 Dec 2013 18:52:08 +0000 (13:52 -0500)]
slight optimization of PolyItem::render_path()

10 years agoprevent 0-pointer dereference in editor_routes.cc - fixes #5794
Robin Gareus [Sat, 28 Dec 2013 15:15:00 +0000 (16:15 +0100)]
prevent 0-pointer dereference in editor_routes.cc - fixes #5794

10 years agoremove unused API to explicitly set/unset buffer silent flag
Robin Gareus [Sat, 28 Dec 2013 12:37:09 +0000 (13:37 +0100)]
remove unused API to explicitly set/unset buffer silent flag

10 years agocentralize buffer silent-flag
Robin Gareus [Sat, 28 Dec 2013 12:43:44 +0000 (13:43 +0100)]
centralize buffer silent-flag

fixes possible x-talk 1 in, >= 2 out tracks:

Previously, only the first route-buffer of the input buffers
were marked as non-silent in Route::process_output_buffers().
Other buffers in the set (e.g. post-panner) would
contain audio but not marked as non-silent.

10 years agoadd visibility/export control to libcanvas
Paul Davis [Fri, 27 Dec 2013 21:24:58 +0000 (16:24 -0500)]
add visibility/export control to libcanvas

10 years agomerge exportvis branch into cairocanvas, to reduce the number of "floating" branches.
Paul Davis [Fri, 27 Dec 2013 19:29:06 +0000 (14:29 -0500)]
merge exportvis branch into cairocanvas, to reduce the number of "floating" branches.

Still need to add API export/visibility macros for the canvas library.

10 years agoRevert "switch fade in/out lines to ArdourCanvas::Curve rather than ArdourCanvas...
Paul Davis [Fri, 27 Dec 2013 16:24:56 +0000 (11:24 -0500)]
Revert "switch fade in/out lines to ArdourCanvas::Curve rather than ArdourCanvas::PolyLine, though for no apparent benefit"

This reverts commit e169f5c17f5acdefc53b5c1373b64113cdd64ac8.

10 years agoadd support for old compilers w/o implicit stdbool
Robin Gareus [Fri, 27 Dec 2013 13:53:30 +0000 (14:53 +0100)]
add support for old compilers w/o implicit stdbool

10 years agoinitialize some uninitialized variables
Robin Gareus [Fri, 27 Dec 2013 13:04:49 +0000 (14:04 +0100)]
initialize some uninitialized variables

10 years agofix redrawing of canvas with an optimized build
Paul Davis [Mon, 23 Dec 2013 20:35:49 +0000 (15:35 -0500)]
fix redrawing of canvas with an optimized build

Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number,
which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events
would be delivered to the canvas in an optimized build during drags (and maybe more).

10 years agoFix export format dialog tagging state inconsistency
Sakari Bergen [Mon, 23 Dec 2013 18:47:37 +0000 (20:47 +0200)]
Fix export format dialog tagging state inconsistency

The state of a checkbox was used before the UI was properly initialized.
This always unset the tagging option in the format object.

10 years agoRe-enable export file tagging. No idea why this code has dropped out at some stage...
Sakari Bergen [Mon, 23 Dec 2013 18:26:51 +0000 (20:26 +0200)]
Re-enable export file tagging. No idea why this code has dropped out at some stage...

10 years agovtl: do not lock audio [to video] when extracting audio-only.
Robin Gareus [Mon, 23 Dec 2013 09:28:32 +0000 (10:28 +0100)]
vtl: do not lock audio [to video] when extracting audio-only.

10 years agobetter, probably working fix for windows-vst-on-linux build 3.5.143
Paul Davis [Sun, 22 Dec 2013 18:39:57 +0000 (13:39 -0500)]
better, probably working fix for windows-vst-on-linux build

10 years agoattempt to fix build with --windows-vst due to a bad merge of the external libs changes
Paul Davis [Sun, 22 Dec 2013 18:13:47 +0000 (13:13 -0500)]
attempt to fix build with --windows-vst due to a bad merge of the external libs changes

10 years agoadd K12/RMS meter type
Robin Gareus [Sun, 22 Dec 2013 08:25:33 +0000 (09:25 +0100)]
add K12/RMS meter type

10 years agofix up OSC support to conform to new CP API and pay attention to feedback setting...
Paul Davis [Sat, 21 Dec 2013 20:31:08 +0000 (15:31 -0500)]
fix up OSC support to conform to new CP API and pay attention to feedback setting, even though feedback does nothing right now

10 years agoconform to new CP API
Paul Davis [Sat, 21 Dec 2013 20:30:43 +0000 (15:30 -0500)]
conform to new CP API

10 years agoconform to new CP API
Paul Davis [Sat, 21 Dec 2013 20:30:34 +0000 (15:30 -0500)]
conform to new CP API

10 years agonew CP API and fix several egregious bugs with port handling when switching devices...
Paul Davis [Sat, 21 Dec 2013 20:30:07 +0000 (15:30 -0500)]
new CP API and fix several egregious bugs with port handling when switching devices, setting state etc.

10 years agoremove debug output
Paul Davis [Sat, 21 Dec 2013 20:29:30 +0000 (15:29 -0500)]
remove debug output

10 years agoconform to new CP API design
Paul Davis [Sat, 21 Dec 2013 20:28:47 +0000 (15:28 -0500)]
conform to new CP API design

10 years agoconform to new CP API design
Paul Davis [Sat, 21 Dec 2013 20:28:34 +0000 (15:28 -0500)]
conform to new CP API design

10 years agoclean up aspects of ControlProtocol API
Paul Davis [Sat, 21 Dec 2013 20:28:05 +0000 (15:28 -0500)]
clean up aspects of ControlProtocol API

10 years agoclean up aspects of ControlProtocol API
Paul Davis [Sat, 21 Dec 2013 20:27:57 +0000 (15:27 -0500)]
clean up aspects of ControlProtocol API

10 years agonew ControlProtocolManager API, and proper handling of view/model changes in the...
Paul Davis [Sat, 21 Dec 2013 20:26:35 +0000 (15:26 -0500)]
new ControlProtocolManager API, and proper handling of view/model changes in the RC options (prefs) editor

10 years agolonger text description
Paul Davis [Sat, 21 Dec 2013 20:25:27 +0000 (15:25 -0500)]
longer text description

10 years agomidi_clock_slave: fix bandwidth to 2/60 for best results
Hans Baier [Wed, 18 Dec 2013 22:42:52 +0000 (05:42 +0700)]
midi_clock_slave: fix bandwidth to 2/60 for best results

10 years agointerpolation_test: add some necessary assertions
Hans Baier [Wed, 18 Dec 2013 22:31:39 +0000 (05:31 +0700)]
interpolation_test: add some necessary assertions

10 years agomidi_clock_slave: fix wrong calculation of loop error
Hans Baier [Wed, 18 Dec 2013 02:55:15 +0000 (09:55 +0700)]
midi_clock_slave: fix wrong calculation of loop error

since transport_frame refers to cycle start, the should be position has
to account for position of the midi clock event.

10 years agomidi_clock_slave.cc: Better debug messages
Hans Baier [Wed, 18 Dec 2013 01:26:43 +0000 (08:26 +0700)]
midi_clock_slave.cc: Better debug messages

10 years agomidi clock slave: make bandwidth variable according to period size
Hans Baier [Tue, 17 Dec 2013 23:19:21 +0000 (06:19 +0700)]
midi clock slave: make bandwidth variable according to period size

10 years agomnemonic PDF: margin, URL, and (C)year updates
Robin Gareus [Sun, 15 Dec 2013 17:31:17 +0000 (18:31 +0100)]
mnemonic PDF: margin, URL, and (C)year updates

10 years agofix linux build script to include libcanvas rather than libgnomecanvas
Paul Davis [Sat, 14 Dec 2013 23:18:15 +0000 (18:18 -0500)]
fix linux build script to include libcanvas rather than libgnomecanvas

10 years agofix a crash caused by not checking if MackieControlProtocol::_surfaces_state exists
Paul Davis [Sat, 14 Dec 2013 15:35:18 +0000 (10:35 -0500)]
fix a crash caused by not checking if MackieControlProtocol::_surfaces_state exists

I forgot to add this check when i changed the member variable to a pointer.

10 years agorsynth.lv2: fix note off+on follow up:
Robin Gareus [Sat, 14 Dec 2013 03:28:14 +0000 (04:28 +0100)]
rsynth.lv2: fix note off+on follow up:

special case if the same note is turned off and on in the
same [internal] synth cycle (64samples). x-fade to ADSR attack.

10 years agochange Generic MIDI control so that it handles a SendFeedback request synchronously...
Paul Davis [Fri, 13 Dec 2013 21:56:34 +0000 (16:56 -0500)]
change Generic MIDI control so that it handles a SendFeedback request synchronously within a process callback

10 years agomake MIDI UI in libardour handle CallSlot requests like it used to (and like it should)
Paul Davis [Fri, 13 Dec 2013 21:55:57 +0000 (16:55 -0500)]
make MIDI UI in libardour handle CallSlot requests like it used to (and like it should)

10 years agoMackie Control support now saves & restores port connections for devices not using...
Paul Davis [Fri, 13 Dec 2013 21:00:08 +0000 (16:00 -0500)]
Mackie Control support now saves & restores port connections for devices not using ipMIDI (not required for ipMIDI anyway)

10 years agoremove some unused code from mackie support
Paul Davis [Fri, 13 Dec 2013 16:56:12 +0000 (11:56 -0500)]
remove some unused code from mackie support

10 years agofix reasonable synth octave
Robin Gareus [Fri, 13 Dec 2013 19:59:08 +0000 (20:59 +0100)]
fix reasonable synth octave

10 years agoxmas-egg
Robin Gareus [Fri, 13 Dec 2013 19:26:30 +0000 (20:26 +0100)]
xmas-egg

10 years agofix logic for display of transport bar meters
Paul Davis [Fri, 13 Dec 2013 15:52:15 +0000 (10:52 -0500)]
fix logic for display of transport bar meters

Always remove from parent (if there is one), then repack if necessary.

10 years agotweak for regionview enter/exit handling
Paul Davis [Fri, 13 Dec 2013 01:44:28 +0000 (20:44 -0500)]
tweak for regionview enter/exit handling

10 years agochange enter/exit event delivery to follow X Window model (inferior, ancestor, virtua...
Paul Davis [Fri, 13 Dec 2013 01:44:04 +0000 (20:44 -0500)]
change enter/exit event delivery to follow X Window model (inferior, ancestor, virtual, nonlinear)

10 years agofix merge conflicts from master
Paul Davis [Thu, 12 Dec 2013 15:06:59 +0000 (10:06 -0500)]
fix merge conflicts from master

10 years agochange event propagation to be based on parent/child lineage, not z-axis stacking...
Paul Davis [Thu, 12 Dec 2013 15:03:33 +0000 (10:03 -0500)]
change event propagation to be based on parent/child lineage, not z-axis stacking, plus some more alterations to try to get enter/leave working

10 years agoadjust LV2 ringbuffer size according to LV2:resize-port
Robin Gareus [Thu, 12 Dec 2013 13:40:45 +0000 (14:40 +0100)]
adjust LV2 ringbuffer size according to LV2:resize-port

The message-size itself is part of the message which
stored in the ringbuffer. If the rinbuffer overflows
the message is misinterpreted -> segfault.

Choose a more conservative ring-buffer size and take
the requested LV2 size into account.

10 years agofix const-ness of names array
Nils Philippsen [Tue, 10 Dec 2013 22:06:27 +0000 (23:06 +0100)]
fix const-ness of names array

10 years agocompare plugin/creator/category names UTF8-aware
Nils Philippsen [Tue, 10 Dec 2013 20:31:57 +0000 (21:31 +0100)]
compare plugin/creator/category names UTF8-aware

10 years agoadd cmp_nocase_utf8()
Nils Philippsen [Tue, 10 Dec 2013 20:29:24 +0000 (21:29 +0100)]
add cmp_nocase_utf8()

This is like cmp_nocase(), only that it doesn't use toupper(), tolower()
and therefore is agnostic of the current locale, and attempts to compare
strings in a UTF8-aware way (or falls back to ASCII if one of the
strings isn't UTF8-encoded).

10 years agodon't use deprecated g_strcasecmp()
Nils Philippsen [Tue, 10 Dec 2013 20:20:56 +0000 (21:20 +0100)]
don't use deprecated g_strcasecmp()

It's dependent on the current locale and deprecated, use
g_ascii_strcasecmp() instead.

10 years agocompare region names case-sensitively
Nils Philippsen [Tue, 10 Dec 2013 20:17:04 +0000 (21:17 +0100)]
compare region names case-sensitively

10 years agouse correct argument order with memset()
Nils Philippsen [Tue, 10 Dec 2013 15:52:37 +0000 (16:52 +0100)]
use correct argument order with memset()

10 years agouse std::fill_n to fill gain buffer with samples
Nils Philippsen [Tue, 10 Dec 2013 15:50:35 +0000 (16:50 +0100)]
use std::fill_n to fill gain buffer with samples

Using memset fills the buffer with whatever 1.0 as a double or float has
in its LSB.

10 years agoMerge branch 'master--ignore-JackTransportNetStarting' of https://github.com/nphilipp...
Paul Davis [Tue, 10 Dec 2013 16:49:18 +0000 (11:49 -0500)]
Merge branch 'master--ignore-JackTransportNetStarting' of https://github.com/nphilipp/ardour

10 years agorationalize color handling for fade in/out handles
Paul Davis [Tue, 10 Dec 2013 03:04:13 +0000 (22:04 -0500)]
rationalize color handling for fade in/out handles

10 years agoimplement Curve::covers() in a very primitive way (also note: fails for actual spline...
Paul Davis [Tue, 10 Dec 2013 02:03:16 +0000 (21:03 -0500)]
implement Curve::covers() in a very primitive way (also note: fails for actual spline curves)

10 years agoswitch fade in/out lines to ArdourCanvas::Curve rather than ArdourCanvas::PolyLine...
Paul Davis [Tue, 10 Dec 2013 02:02:42 +0000 (21:02 -0500)]
switch fade in/out lines to ArdourCanvas::Curve rather than ArdourCanvas::PolyLine, though for no apparent benefit

10 years agomake PolyLine use distance_to_segment_squared(), and add separate (null, for now...
Paul Davis [Mon, 9 Dec 2013 22:24:34 +0000 (17:24 -0500)]
make PolyLine use distance_to_segment_squared(), and add separate (null, for now) method Curve::covers(Duple) because the math there needs to be different, maybe

10 years agoArdourCanvas::Line::covers() uses distance_to_segment_squared()
Paul Davis [Mon, 9 Dec 2013 18:39:10 +0000 (13:39 -0500)]
ArdourCanvas::Line::covers() uses distance_to_segment_squared()

10 years agodebug trace tweaks
Paul Davis [Mon, 9 Dec 2013 18:38:22 +0000 (13:38 -0500)]
debug trace tweaks

10 years agoadd a utility function to Canvas to compute distance from a point to a line segment
Paul Davis [Mon, 9 Dec 2013 18:35:07 +0000 (13:35 -0500)]
add a utility function to Canvas to compute distance from a point to a line segment

10 years agoignore "unofficial" states in jack_sync_callback()
Nils Philippsen [Mon, 9 Dec 2013 16:54:34 +0000 (17:54 +0100)]
ignore "unofficial" states in jack_sync_callback()

10 years agodon't overwrite necessary compiler flags
Nils Philippsen [Mon, 9 Dec 2013 16:33:45 +0000 (17:33 +0100)]
don't overwrite necessary compiler flags

Distinguish flags influencing optimization (overridable) from those
necessary for building (e.g. for using SSE).

10 years agoimprove architecture detection
Nils Philippsen [Sat, 9 Nov 2013 09:54:47 +0000 (10:54 +0100)]
improve architecture detection

Recognize ppc64, ppc, s390x, s390 CPUs, default to 'none' instead of
i686 (which tries to build with SSE and fails on non-x86 architectures).

10 years agoprint a warning for every VST >=2.4 plugin
Robin Gareus [Sat, 7 Dec 2013 17:45:40 +0000 (18:45 +0100)]
print a warning for every VST >=2.4 plugin

17:29 < rgareus> las: ok. I'll make this translatable, but this warning will show up every time ardour starts (and scans for plugins) which can be annoying.
17:30 < las> rgareus: yeah, well we need to do black/whitelisting of plugins anyway so ...

10 years agodetect VST >= 2.4 plugins.
Robin Gareus [Sat, 7 Dec 2013 17:04:31 +0000 (18:04 +0100)]
detect VST >= 2.4 plugins.

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Thu, 5 Dec 2013 22:50:28 +0000 (17:50 -0500)]
Merge branch 'master' into cairocanvas

10 years agoMerge branch 'expvis' of https://github.com/mojofunk/ardour into exportvis
Paul Davis [Thu, 5 Dec 2013 17:19:01 +0000 (12:19 -0500)]
Merge branch 'expvis' of https://github.com/mojofunk/ardour into exportvis

10 years agoRemove duplicate use of LIBARDOUR_API from Session class
Tim Mayberry [Thu, 5 Dec 2013 11:26:39 +0000 (21:26 +1000)]
Remove duplicate use of LIBARDOUR_API from Session class

10 years agoRemove old visibility.h header that is no longer in use
Tim Mayberry [Thu, 5 Dec 2013 11:25:09 +0000 (21:25 +1000)]
Remove old visibility.h header that is no longer in use

10 years agoUse the correct visibility macros
Tim Mayberry [Thu, 5 Dec 2013 11:21:11 +0000 (21:21 +1000)]
Use the correct visibility macros

10 years agoOnly use __declspec(dllimport/dllexport) for MSVC compiler
Tim Mayberry [Thu, 5 Dec 2013 11:11:18 +0000 (21:11 +1000)]
Only use __declspec(dllimport/dllexport) for MSVC compiler

Use the gcc visibility attributes when building with the MinGW compiler(gcc).
GCC also supports the __declspec syntax but it will not compile at the moment
until the issues(which may not even be exactly the same issues as with MSVC)
are resolved.

10 years agoFix compile when using external version of libltc
Tim Mayberry [Thu, 5 Dec 2013 10:57:36 +0000 (20:57 +1000)]
Fix compile when using external version of libltc

10 years agoMerge branch 'master' into exportvis
Paul Davis [Wed, 4 Dec 2013 16:49:02 +0000 (11:49 -0500)]
Merge branch 'master' into exportvis

10 years agochange "cpu" in cpu load backend functions
Paul Davis [Wed, 4 Dec 2013 16:45:53 +0000 (11:45 -0500)]
change "cpu" in cpu load backend functions

10 years agochange "cpu" in cpu load backend functions
Paul Davis [Wed, 4 Dec 2013 16:45:53 +0000 (11:45 -0500)]
change "cpu" in cpu load backend functions

10 years agofix gtk child packing errors related to the transport bar meter box/peak display
Paul Davis [Wed, 4 Dec 2013 00:45:34 +0000 (19:45 -0500)]
fix gtk child packing errors related to the transport bar meter box/peak display

10 years agofix up wscript/build issues in exportvis after merge with master
Paul Davis [Tue, 3 Dec 2013 16:51:25 +0000 (11:51 -0500)]
fix up wscript/build issues in exportvis after merge with master

10 years agominor tweaks to MIDI clock support, including delivery of position events/messages...
Paul Davis [Tue, 3 Dec 2013 04:34:12 +0000 (23:34 -0500)]
minor tweaks to MIDI clock support, including delivery of position events/messages when stopped

10 years agodon't run MIDI clock "tick" if session is silent (e.g. due to a locate)
Paul Davis [Tue, 3 Dec 2013 04:33:33 +0000 (23:33 -0500)]
don't run MIDI clock "tick" if session is silent (e.g. due to a locate)

10 years agofix continuous send of MIDI start/position/stop messages introduced by mistake
Paul Davis [Sun, 1 Dec 2013 17:18:57 +0000 (12:18 -0500)]
fix continuous send of MIDI start/position/stop messages introduced by mistake

10 years agofix build
Paul Davis [Sat, 30 Nov 2013 16:17:42 +0000 (11:17 -0500)]
fix build

10 years agofix merge with master
Paul Davis [Sat, 30 Nov 2013 03:31:29 +0000 (22:31 -0500)]
fix merge with master

10 years agofix up a bunch of confusion regarding the size/capacity/allocation of audio & midi...
Paul Davis [Sat, 30 Nov 2013 03:26:33 +0000 (22:26 -0500)]
fix up a bunch of confusion regarding the size/capacity/allocation of audio & midi buffers

10 years agodrop capacity argument from Buffer constructor, since the abstract class cannot ...
Paul Davis [Sat, 30 Nov 2013 03:25:36 +0000 (22:25 -0500)]
drop capacity argument from Buffer constructor, since the abstract class cannot (and should not) do anything with it

10 years agofix indentation
Paul Davis [Sat, 30 Nov 2013 03:24:59 +0000 (22:24 -0500)]
fix indentation

10 years agoadd explicit linkage to libtimecode
Paul Davis [Sat, 30 Nov 2013 03:24:37 +0000 (22:24 -0500)]
add explicit linkage to libtimecode

10 years agomake JACK backend return the right set of values when asked for buffer sizes or sampl...
Paul Davis [Wed, 27 Nov 2013 22:41:54 +0000 (17:41 -0500)]
make JACK backend return the right set of values when asked for buffer sizes or sample rate of a device other than the one in use