1e4e6499e3
fix deadlock when removing monitoring-section
2014-01-13 09:39:50 -05:00
1b24aad933
fix processor -> reconfigure I/O || process concurrency
...
Add a ReaderLock to Route::process_output_buffers().
But process_output_buffers() is always called with processor-lock
held. To avoid deadlocks, a processor WriterLock must always imply
a process-lock (IFF reconfigure-I/O is called with _processor_lock).
Otherwise: e.g.
* add_processor() -> takes processor-lock. set up and activate processor.
* simult. audio-engine process, process-lock -> call process_output_buffers() -> wait for processor-lock
* add_processor() continues -> calls reconfigure-io -> take process-lock -> deadlock.
2014-01-13 09:39:50 -05:00
ac8eb0581d
take process lock when adding processors:
...
fixes possible crash if a processor modifies port-count
1. a processor is inserted and activated with processor-lock held
2. only after that the process_lock() is taken, configure_processors() is called which reconfigures-IO
BUT if the processor that is inserted changes the channel count AND audio is processed before IOs are reconfigured
-> possible crash (invalid port-buffers)
To reproduce: Bus1 (2in, 3out), Bus2 (2in, 3out)
- add a send from Bus1 to Bus2,
- then add a processor to Bus1, just before the send which
increases the channel-count to 4 -> occasional crash or assert.
2014-01-13 09:39:18 -05:00
a919ac8a86
aubio 3+4 compat
2014-01-13 09:38:24 -05:00
75e21d3ab4
cosmetic change - properly use lilv API
2014-01-13 09:38:24 -05:00
28470af5f7
swap channel VBAP channel
2014-01-13 09:38:24 -05:00
dd4c0e040f
VBAP rework (part III): fix position computation backend & GUI
2014-01-13 09:37:35 -05:00
431babc272
update default speaker position list
2014-01-13 09:37:35 -05:00
60fe9606f4
VBAP GUI depends on signal-position (not parameter changes)
2014-01-13 09:37:35 -05:00
1bf9c4c990
VBAP backend re-work (part two): speaker positioning
...
* clean up source (whitespace)
* fix speaker 3x3 matrix iteration
* update math to go along with Ardour Cartesian -- fixes rounding errors
* fix division by zero in cross_prod()
* disable old debug output
(NB PBD::spherical_to_cartesian() returns
3.7494e-33, 6.12323e-17, 1 for azimuth 90 elevation 90 distance 1
while it should return
0.000000, 0.000000, 1 for azimuth 90 elevation 90 distance 1
IOW cos(90.0 * 2.0 * M_PI / 360.0) != 0
Cause unknown. This is currently worked around check in vec_length()
)
2014-01-13 09:37:34 -05:00
112de00841
VBAP backend re-work (part one):
...
* fix azimuth, don't clamp but map to [0,1]
* prepare elevation (10+ speakers)
2014-01-13 09:35:57 -05:00
1fb9437e26
'libs/timecode' - Change some instances of 'rint' to be 'lrint' (better compatibility with MSVC)
2014-01-13 14:26:19 +00:00
291618fe71
allow to custom select panner-type for each delivery.
2014-01-13 15:13:37 +01:00
5da8c2b476
'libs/evoral' - and add 'Note.impl' to the project
2014-01-13 12:47:21 +00:00
1d69f31266
'libs/evoral' - #include 'Note.impl' when building with MSVC (this is necessary to ensure that Evoral::Note gets exported from the evoral DLL)
2014-01-13 12:16:02 +00:00
346310c60b
fix delivery: check if panshell exists on session-load
2014-01-13 11:49:09 +01:00
bc88203ef5
independent panning for external sends
2014-01-13 10:50:49 +01:00
d9cf6880b6
fix output metering for Sends (Aux and External)
2014-01-13 10:50:22 +01:00
0559c1babb
add independent panner for internal (Aux) sends
2014-01-13 10:48:37 +01:00
0c384b7c21
update internal-send port-count when target port-count changes
2014-01-13 10:48:23 +01:00
5e2a145cdd
ignore additional channels for AFL, PFL:
...
If the monitor-section has fewer-channels than the solo-listen point:
ignore additional channels.
2014-01-13 10:47:17 +01:00
35ab234e5e
fix deadlock when removing monitoring-section
2014-01-13 10:46:11 +01:00
9c753dbaec
use LIBEVORAL_TEMPLATE_API with Evoral::Note
2014-01-12 20:23:45 -05:00
2fc2df8c5d
fix 64 bit template types
2014-01-12 20:01:12 -05:00
cdfc094b9f
add new file (required by MSVC) to sources list
2014-01-12 20:00:55 -05:00
491bc4e865
use LIBEVORAL_TEMPLATE_API
...
Also clean up unnecessary comments - git blame provides complete per-line history, no need to leave comments behind
2014-01-12 20:00:26 -05:00
a94dadc759
add LIBEVORAL_TEMPLATE_API to deal with gcc/msvc difference of opinion
2014-01-12 19:59:40 -05:00
a08e7c0016
fix processor -> reconfigure I/O || process concurrency
...
Add a ReaderLock to Route::process_output_buffers().
But process_output_buffers() is always called with processor-lock
held. To avoid deadlocks, a processor WriterLock must always imply
a process-lock (IFF reconfigure-I/O is called with _processor_lock).
Otherwise: e.g.
* add_processor() -> takes processor-lock. set up and activate processor.
* simult. audio-engine process, process-lock -> call process_output_buffers() -> wait for processor-lock
* add_processor() continues -> calls reconfigure-io -> take process-lock -> deadlock.
2014-01-12 23:13:35 +01:00
7e3282486d
take process lock when adding processors:
...
fixes possible crash if a processor modifies port-count
1. a processor is inserted and activated with processor-lock held
2. only after that the process_lock() is taken, configure_processors() is called which reconfigures-IO
BUT if the processor that is inserted changes the channel count AND audio is processed before IOs are reconfigured
-> possible crash (invalid port-buffers)
To reproduce: Bus1 (2in, 3out), Bus2 (2in, 3out)
- add a send from Bus1 to Bus2,
- then add a processor to Bus1, just before the send which
increases the channel-count to 4 -> occasional crash or assert.
2014-01-12 21:47:15 +01:00
83c0720645
remove VAMP and Rubberband from source tree
2014-01-12 15:40:48 -05:00
4b3feefa55
add -fvisibility=default back to cxx/cflags when building QM DSP and VAMP plugins libs, because ... ugh
2014-01-12 15:40:48 -05:00
26a9e28922
add export visibility macro
2014-01-12 15:40:48 -05:00
87009afff2
add new file
2014-01-12 15:40:48 -05:00
c3a00990b3
add missing export/visibility macro
2014-01-12 15:40:48 -05:00
0a2a6aaabb
remove taglib from source tree (require external provision)
2014-01-12 15:40:48 -05:00
5062a00c7d
move -fvisibility=hidden to the top of the source tree, and remove its internal use; use libtimecode as a shared lib again
2014-01-12 15:40:47 -05:00
2c21cbb044
add export/visibility macros to libtimecode and build as a shared library again
2014-01-12 15:40:47 -05:00
b7bc2dd2c6
build libsmf as a static library, since it is private to evoral and would otherwise require export visibility control
...
This also removes -fvisibility=hidden, a change that is taking place across the source tree and will show up in a later commit elsewhere
2014-01-12 15:40:47 -05:00
6fc1f27013
Merge branch 'windows+cc' into cairocanvas
2014-01-12 17:45:28 +00:00
61c692baa1
'libs/evoral' - Move a couple of 'IdentityConverter' functions into their own dedicated C++ source file. This allows them to be used correctly with __dllimport and __dllexport. Hopefully, this technique will also work for gcc / mingw
2014-01-12 17:40:25 +00:00
dd8ba245bb
'libs/evoral' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)
2014-01-12 17:36:17 +00:00
1eaa30b725
aubio 3+4 compat
2014-01-12 18:11:14 +01:00
58f82b52e5
cosmetic change - properly use lilv API
2014-01-12 17:14:14 +01:00
f9b8300ec6
swap channel VBAP channel
2014-01-12 03:36:20 +01:00
60960280d1
redefine Pi :)
2014-01-11 23:38:28 +01:00
72cec05d46
VBAP rework (part III): fix position computation backend & GUI
2014-01-11 23:38:28 +01:00
7ac05ccfa5
update default speaker position list
2014-01-11 23:38:28 +01:00
0669bb455b
VBAP GUI depends on signal-position (not parameter changes)
2014-01-11 23:38:28 +01:00
d3e1d54280
VBAP backend re-work (part two): speaker positioning
...
* clean up source (whitespace)
* fix speaker 3x3 matrix iteration
* update math to go along with Ardour Cartesian -- fixes rounding errors
* fix division by zero in cross_prod()
* disable old debug output
(NB PBD::spherical_to_cartesian() returns
3.7494e-33, 6.12323e-17, 1 for azimuth 90 elevation 90 distance 1
while it should return
0.000000, 0.000000, 1 for azimuth 90 elevation 90 distance 1
IOW cos(90.0 * 2.0 * M_PI / 360.0) != 0
Cause unknown. This is currently worked around check in vec_length()
)
2014-01-11 23:38:27 +01:00
80127f9cca
VBAP backend re-work (part one):
...
* fix azimuth, don't clamp but map to [0,1]
* prepare elevation (10+ speakers)
2014-01-11 23:38:27 +01:00
59631acc5f
fix merge with master
2014-01-11 15:19:18 -05:00
72d8ca89e2
Support midnam controller value labels.
2014-01-10 20:51:54 -05:00
658bb3ccd4
finished merge of cairocanvas with windows and windows+cc branches
2014-01-10 17:11:10 -05:00
3020b224fa
Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there
2014-01-10 16:07:57 -05:00
d15fda6d75
fix merge errors with master
2014-01-10 14:53:03 -05:00
22c303d8f6
final (?) tweaks to rectangle rendering
2014-01-10 14:36:05 -05:00
9df593d823
clamp expose (queue_redraw()) requests to visible window area, some extra debugging details
2014-01-10 14:35:36 -05:00
0bdf4c25cf
fix panner search path
2014-01-10 20:35:32 +01:00
02e6d14e23
make no-zero-line be the default for wave views (still shown for normal audio region views
2014-01-10 12:08:58 -05:00
6d4c0baad3
fix up thinko in recent raise_to_top/lower_to_bottom optimization
2014-01-10 11:54:05 -05:00
70c4a5e2d6
slightly expand CanvasRender debug output
2014-01-10 11:02:34 -05:00
ffdf3ed017
don't go through ::deliver_enter_leave() unnecessarily
2014-01-10 11:02:05 -05:00
7396fcf0b1
re-configure _all_ panners on a route, when panner type changes
2014-01-10 12:36:20 +01:00
8d64665ce1
add a fixed priority to panner modules
2014-01-10 12:13:22 +01:00
04ad07babf
add [missing] left_half_rectangle util
2014-01-09 20:48:04 +01:00
5cd35de56b
prevent Rect::expand() from generating negative coordinates where there were none before
2014-01-08 18:20:19 -05:00
21ca6a10a9
rework panning -- Squashed commit of the following:
...
commit 6f4f4f161b00cb36252727f67ecc4913eb944fd7
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 22:13:09 2014 +0100
fix panner plugin discovery (prev commit)
commit 26e514f4a80af9192cae3cbd62fde0ae95474dfc
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 18:56:59 2014 +0100
update panner plugin discovery
* recurse dirs in 'PANNER_PATH' and 'panner_dir_name' up to 1 level.
* don't look in ardour_dll_directory() -- no panners are supposed to be in there
* use .dylib on OSX exclusively.
commit a514c3f1c425dccf3d42eee9d2b183b44fd26a03
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 16:48:34 2014 +0100
remove debug/devel printf()s
commit d863742ddc69af493ee6a8817bc778968d9b0800
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 16:17:13 2014 +0100
panner-type: session backward/forward compatibility
commit 25d5e4c663ada34129451b0f9045ab047d6cc2f0
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 16:09:07 2014 +0100
update URIs -> URLs
commit 00a606a43d9456cfbaf43cae4fb598549326ba71
Merge: 0f1cec1 382eb0f
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 03:29:45 2014 +0100
Merge branch 'master' into panning
commit 0f1cec19babae538c9697eed4be5d6ddc851b013
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 02:41:15 2014 +0100
switch panner ID to URI
commit 575282b412c3ae1cd8219cf75f00a1a4239e2813
Author: Robin Gareus <robin@gareus.org>
Date: Wed Jan 8 00:50:15 2014 +0100
prepare API for panner URI
commit ea62cd049308859782a7bb16e4f18169d8638b46
Author: Robin Gareus <robin@gareus.org>
Date: Tue Jan 7 19:57:06 2014 +0100
update development doc relating to panner selection
commit 586d7de2392e26b9d7f597b1a00b98dfaa42ecdc
Author: Robin Gareus <robin@gareus.org>
Date: Tue Jan 7 19:56:24 2014 +0100
clean up PanShell::set_user_selected_panner_type() API
commit 99077886a5a1cacece908d87c29c3be12903027e
Author: Robin Gareus <robin@gareus.org>
Date: Tue Jan 7 04:46:22 2014 +0100
panner bypass: visualize & [in]sensitivity
commit 46d688d216f0e67d672376a607157af02b359fb2
Merge: 4e67573 c4cdf61
Author: Robin Gareus <robin@gareus.org>
Date: Tue Jan 7 02:18:54 2014 +0100
Merge branch 'master' into panning
commit 4e67573517b3d60ddf65729783687b16cfb2adb7
Author: Robin Gareus <robin@gareus.org>
Date: Tue Jan 7 01:05:17 2014 +0100
don't call configure_io() for merely swapping panners
commit d32a4c51f6967f48f7680554866f1f7b311ccde1
Merge: a3226d4 cec3116
Author: Robin Gareus <robin@gareus.org>
Date: Mon Jan 6 23:49:55 2014 +0100
Merge branch 'master' into panning
commit a3226d46b598afae54a65ac69320eca84669f347
Author: Robin Gareus <robin@gareus.org>
Date: Mon Jan 6 17:52:38 2014 +0100
add notes about panner re-design
commit d1ae2366024605f22b05572a81ee249e6fdbcd2f
Author: Robin Gareus <robin@gareus.org>
Date: Mon Jan 6 15:06:40 2014 +0100
add simple stereo-balance panner for testing
commit e0ddd256ff2288b8d8cfad3ad485a916964ce5b5
Author: Robin Gareus <robin@gareus.org>
Date: Mon Jan 6 17:02:52 2014 +0100
add frontend/GUI for panner selection
commit 2cb8f846755eb5aea8a2620d31ea981c446c4041
Author: Robin Gareus <robin@gareus.org>
Date: Mon Jan 6 17:02:20 2014 +0100
prepare backend for panner selection
2014-01-09 00:18:45 +01:00
Sakari Bergen
054ead24cc
Fix dither data width assertions and related tests
...
Fixes 32-bit export
This was broken from the start, and was broken in a new way in
52309c0c4f
2014-01-08 20:33:17 +02:00
cf293d0593
tweak rectangle bounding box computation
2014-01-08 10:42:14 -05:00
35d3a4a351
remove unused code
2014-01-08 10:31:39 -05:00
a70edc5765
change rounding used for convert Rect from canvas to window coordinates
2014-01-08 10:31:14 -05:00
98dec658ee
Revert "remove unused code"
...
This reverts commit 2d283c17e1
.
2014-01-08 10:29:03 -05:00
2d283c17e1
remove unused code
2014-01-08 10:28:46 -05:00
8fa54cd1d9
shrink waveview zero line to single pixel
2014-01-07 22:51:18 -05:00
36c233fe6c
Merge branch 'master' into cairocanvas
2014-01-07 21:37:48 -05:00
c235d3da99
mostly fix conceptual error in how canvas rectangle frames are drawn
2014-01-07 20:56:36 -05:00
5fec68e6c5
for now, hide ugly circle thing in drag handles
2014-01-07 20:56:03 -05:00
d1652f8cc6
outline width of 0.5 is stupid and meaningless, and was just hiding other issues with outlines
2014-01-07 11:31:47 -05:00
7914d45f27
add missing iterator increment to poly item renders.
2014-01-06 20:45:40 -05:00
4b71d7fde5
small optimization to curve rendering
2014-01-06 20:45:40 -05:00
c4cdf61971
make LV2 presets immediately available
2014-01-07 02:17:25 +01:00
58363e5490
remove inadvertently commited debug/devel code
2014-01-07 01:45:20 +01:00
2163467d31
add M-Audio 2496 as a recognized card for the mudita24 control panel/app.
...
(Yes, this hard coding thing is awful)
2014-01-06 11:35:57 -05:00
00fbc9c342
fix plugin log-sliders for ranges [0..]
2014-01-06 00:01:24 +01:00
897fbdc652
Small patch to see if Ben's build problem gets fixed
2014-01-05 15:08:38 +00:00
7eca991971
fix fader default-value line position
2014-01-05 13:09:08 +01:00
d89573f8e7
update slider rendering & set style for faders
...
* render background -- outside of rounded corners
* visually align unity-location with fader at 0.
* sharp lines (no more AA blur) x/y offset, radius
2014-01-05 13:07:31 +01:00
f3d858f9df
fix detection of aubio library - aubio-0.4 breaks API and ABI.
...
ideally we'll want atleast_version='0.3.2', max_version='0.3.9'
(or anything before 0.4.0) for the time being.
but waf/autowaf don't seem to allow that.
aubio-0.3.2 was the previous minimum requirement and is
also the last release of audio-0.3.X, so we're good with
exact_version for now.
2014-01-04 19:28:15 +01:00
e8e4e677aa
processor drag box only
2014-01-04 05:43:20 +01:00
52d6cbc1e9
fix PixFader size allocation
...
previously faders in the processor box were only sized correctly
after the 2nd iteration: allocate -> request -> allocate
2014-01-04 05:42:31 +01:00
d85ec4ee17
don't split process cycle at end
...
Keep in mind: While this is the correct thing to do,
it hides another another bug under the hood, related to
_global_port_buffer_offset in MidiPort::flush_buffers.
For debugging the latter issue, revert this.
2014-01-03 18:36:00 +01:00
a37112bdd7
improve clarity of logic parentheses
2014-01-03 12:19:18 -05:00
31a1b73752
Merge branch 'master' of https://github.com/derAbgang/ardour
2014-01-03 12:18:36 -05:00
Nils Philippsen
aa15f90959
don't declare hilight variable twice
2014-01-03 18:11:30 +01:00
Nils Philippsen
156283936b
get rid of const warnings
2014-01-03 18:11:30 +01:00
derAbgang
f1a93bc8a1
mantis 0005805
2014-01-02 17:13:14 -05:00
7b24be86a2
make raise_to_top() and lower_to_bottom() no-ops if item is already in the right place
2014-01-02 16:49:42 -05:00
7f83975e7d
add drag handle source to wscript
2014-01-02 16:49:11 -05:00
edb932b819
basic, prototypical drag handle implementation
2014-01-02 16:48:44 -05:00
10c8b48235
tweak design of time axis view item name text handling
2014-01-02 14:29:07 -05:00
e7c4774728
Merge branch 'master' into cairocanvas
2014-01-02 09:16:28 -05:00
Julien de Kozak
b439b79813
Fix tests compilation after Control API changes
2014-01-02 09:00:58 -05:00
2644aaddb1
visualize port connections in mixer/processor when in < out
2014-01-01 15:34:06 +01:00
8f876bb5ab
remove legacy CANVAS_COMPATIBILITY property_foo() stuff (related to gnomecanvas API) from libcanvas
2013-12-31 11:54:05 -05:00
91ae2c0e81
debug message: print uint8 channel as integer not char
2013-12-31 11:44:19 +01:00
501bfdb15a
fix an errant visibility macro
2013-12-30 17:21:15 -05:00
d1818d1879
change clip level variable units to dB (conversion likely not complete yet)
2013-12-30 17:20:54 -05:00
d1098f4f30
add new configurable parameter for waveview clip level
2013-12-30 15:55:38 -05:00
110c790d91
define signal associated with configurable clipping level to Canvas::WaveView
2013-12-30 15:54:09 -05:00
7158eb7565
add configurable clipping level to Canvas::WaveView
2013-12-30 15:46:44 -05:00
2d50adaf3a
ignore invisible items when picking the current item
...
Also left behind some commented debug out that probably deserves a new PBD::Debug bit.
2013-12-30 14:02:43 -05:00
bcc5a4d7d2
improve debug message
2013-12-30 16:58:46 +01:00
e281f5653c
fix assert for non-existing MIDI patch-names
...
typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = MIDI::Name::ChannelNameSet; typename boost::detail::sp_member_access<T>::type = MIDI::Name::ChannelNameSet*]: Assertion `px != 0' failed.
2013-12-30 16:24:27 +01:00
c284823413
optimize peak calculation of silent buffers
2013-12-30 14:26:09 +01:00
a3ba6163b3
NOOP. remove trailing whitespace
2013-12-30 14:21:09 +01:00
ee5186a461
make meters request constant buffers
2013-12-30 14:20:02 +01:00
4886eb7098
try to rationalize logic for displaying/hiding regionview (time axis view item) name highlights and text
2013-12-29 23:10:54 -05:00
9875d43414
use buffer APIs instead of raw memcpy, fix plugin bypass
2013-12-29 21:48:14 +01:00
dfec88e1a3
add proper namespace to PBD::demangle for systems without execinfo
2013-12-29 13:59:37 -05:00
f4060c6b38
fix replicate_missing_region_channels option
2013-12-28 21:12:57 +01:00
b880a38152
Merge branch 'master' into cairocanvas
2013-12-28 14:00:20 -05:00
a585816f3e
slight optimization of PolyItem::render_path()
2013-12-28 13:52:08 -05:00
0f6686eea9
remove unused API to explicitly set/unset buffer silent flag
2013-12-28 13:43:57 +01:00
37264c85a5
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.
2013-12-28 13:43:44 +01:00
218a4664be
add visibility/export control to libcanvas
2013-12-27 16:24:58 -05:00
b0e4f81eb3
merge exportvis branch into cairocanvas, to reduce the number of "floating" branches.
...
Still need to add API export/visibility macros for the canvas library.
2013-12-27 14:29:06 -05:00
8f69af4af3
add support for old compilers w/o implicit stdbool
2013-12-27 14:53:30 +01:00
3f75d78848
initialize some uninitialized variables
2013-12-27 14:04:49 +01:00
84f55440a3
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).
2013-12-23 15:35:49 -05:00
Sakari Bergen
e00d9dd585
Re-enable export file tagging. No idea why this code has dropped out at some stage...
2013-12-23 20:26:51 +02:00
0acafa4d3d
add K12/RMS meter type
2013-12-22 09:25:33 +01:00
2065a2a2ac
fix up OSC support to conform to new CP API and pay attention to feedback setting, even though feedback does nothing right now
2013-12-21 15:31:28 -05:00
e9c47051f7
conform to new CP API
2013-12-21 15:31:28 -05:00
91e2b5f88a
conform to new CP API
2013-12-21 15:31:28 -05:00
362769e967
new CP API and fix several egregious bugs with port handling when switching devices, setting state etc.
2013-12-21 15:31:28 -05:00
644ead06b4
remove debug output
2013-12-21 15:31:28 -05:00
5ebc8de6cc
conform to new CP API design
2013-12-21 15:31:28 -05:00
ea5fde0787
conform to new CP API design
2013-12-21 15:31:28 -05:00
b0a10da783
clean up aspects of ControlProtocol API
2013-12-21 15:31:28 -05:00
8a005319b8
clean up aspects of ControlProtocol API
2013-12-21 15:31:28 -05:00
0cf8b9d3ea
new ControlProtocolManager API, and proper handling of view/model changes in the RC options (prefs) editor
2013-12-21 15:31:28 -05:00
b1231696ca
Mingw64 has pthread_t available, and does not need a thread ID comparison function
2013-12-19 13:04:04 -05:00
94993816cc
move portable copyfile function into tools/autowaf.py and use it in both gtk2_ardour and taglib
2013-12-19 12:55:52 -05:00
Hans Baier
611d1ffc29
midi_clock_slave: fix bandwidth to 2/60 for best results
2013-12-19 05:42:52 +07:00
Hans Baier
6e5240c24b
interpolation_test: add some necessary assertions
2013-12-19 05:31:39 +07:00
Hans Baier
caac41a9cb
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.
2013-12-18 09:55:15 +07:00
Hans Baier
bc5d23d5fa
midi_clock_slave.cc: Better debug messages
2013-12-18 08:26:43 +07:00
Hans Baier
d826de83ae
midi clock slave: make bandwidth variable according to period size
2013-12-18 06:19:21 +07:00
f6c9fa4d89
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.
2013-12-14 11:10:54 -05:00
e82ccd7648
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.
2013-12-14 04:29:12 +01:00
afabc09fbf
change Generic MIDI control so that it handles a SendFeedback request synchronously within a process callback
2013-12-13 16:56:34 -05:00
89adeb2a9f
make MIDI UI in libardour handle CallSlot requests like it used to (and like it should)
2013-12-13 16:55:57 -05:00
85cd647226
Mackie Control support now saves & restores port connections for devices not using ipMIDI (not required for ipMIDI anyway)
2013-12-13 16:04:34 -05:00
a17bafa964
remove some unused code from mackie support
2013-12-13 16:04:34 -05:00
6c84362959
fix reasonable synth octave
2013-12-13 20:59:08 +01:00
c43a1f39a6
xmas-egg
2013-12-13 20:28:30 +01:00
9b6135b2e1
change enter/exit event delivery to follow X Window model (inferior, ancestor, virtual, nonlinear)
2013-12-12 20:44:04 -05:00
1676789907
fix merge conflicts from master
2013-12-12 10:06:59 -05:00
88732abd01
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
2013-12-12 10:03:33 -05:00
fd1eb73ef2
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.
2013-12-12 14:42:02 +01:00
Nils Philippsen
527b0a78a1
fix const-ness of names array
2013-12-10 23:07:48 +01:00
Nils Philippsen
96947e2f3a
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).
2013-12-10 23:07:47 +01:00
Nils Philippsen
71f6104340
use correct argument order with memset()
2013-12-10 23:07:47 +01:00
Nils Philippsen
27a3f2837a
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.
2013-12-10 23:07:47 +01:00
a631350f93
implement Curve::covers() in a very primitive way (also note: fails for actual spline curves)
2013-12-09 21:03:16 -05:00
c4f0063a68
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
2013-12-09 17:24:34 -05:00
77a63c2bf7
ArdourCanvas::Line::covers() uses distance_to_segment_squared()
2013-12-09 13:39:10 -05:00
4780c84252
debug trace tweaks
2013-12-09 13:38:22 -05:00
75b25cd913
add a utility function to Canvas to compute distance from a point to a line segment
2013-12-09 13:35:07 -05:00
Nils Philippsen
a86b66181a
ignore "unofficial" states in jack_sync_callback()
2013-12-09 17:56:06 +01:00
bbd79b6792
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 ...
2013-12-07 18:45:40 +01:00
0c2494595d
detect VST >= 2.4 plugins.
2013-12-07 18:04:31 +01:00
be376350b5
A few basic tests for AudioEngine
2013-12-07 20:48:19 +10:00
dc60753dde
Use correct header include for _fullpath
...
According to http://msdn.microsoft.com/en-us/library/506720ff(v=vs.120).aspx
2013-12-07 20:48:02 +10:00
59da788793
Merge branch 'master' into cairocanvas
2013-12-05 17:50:28 -05:00
a7961f04cf
fix error in mingw version of realpath()
2013-12-05 17:43:15 -05:00
ef2c1ff92f
add (likely, partial) windows implementation of POSIX realpath() for COMPILER_MINGW where the latter is not available, to the only place realpath() is used
2013-12-05 17:40:21 -05:00
550b991176
remove unnecessary recently-added include for realpath, which is not actively used
2013-12-05 17:39:41 -05:00
e0cc10540d
extra source no longer required
2013-12-05 17:24:39 -05:00
bab60c2e8c
we don't use realpath() anymore so there is need for a special mingw include
2013-12-05 17:23:18 -05:00
c0e5506994
we don't use realpath() anymore so there is need for a special mingw include
2013-12-05 17:21:50 -05:00
3144a81acb
additional header needed for mingw build to get realpath()
2013-12-05 14:49:03 -05:00
8970446d7e
additional source file for mingw build
2013-12-05 14:48:45 -05:00
597c9c9b25
make mingw-based pthread comparison function work with both 32 and 64 bit variants of mingw
2013-12-05 14:46:40 -05:00
b7835cd7b1
workaround compilation issues with assembler in fpu code and mingw
2013-12-05 14:45:17 -05:00
144f4cb423
Remove duplicate use of LIBARDOUR_API from Session class
2013-12-05 21:26:39 +10:00
05e9f9d81c
Remove old visibility.h header that is no longer in use
2013-12-05 21:25:09 +10:00
2caad20a71
Use the correct visibility macros
2013-12-05 21:21:11 +10:00
3a885d6177
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.
2013-12-05 21:11:18 +10:00
ccebb050e4
Fix compile when using external version of libltc
2013-12-05 20:57:36 +10:00
2ba2a50dec
Merge branch 'master' into windows
2013-12-04 11:50:36 -05:00
ce7bfb489c
change "cpu" in cpu load backend functions
2013-12-04 11:48:31 -05:00
b2bc7cfbe1
change "cpu" in cpu load backend functions
2013-12-04 11:45:53 -05:00
8648a8a13b
fix up wscript/build issues in exportvis after merge with master
2013-12-03 11:51:25 -05:00
0258f2958b
switch from using Sleep/usleep to Glib::usleep()
2013-12-03 10:24:05 -05:00
22175630bb
Merge branch 'windowspush' of https://github.com/mojofunk/ardour into windows
2013-12-03 10:01:26 -05:00
848e75aaea
Merge branch 'master' into windows
2013-12-03 10:01:13 -05:00
a420328354
Reinstate call to package config for JACK backend
...
Not sure how this got lost, merge perhaps.
2013-12-03 20:28:17 +10:00
0f6a65e405
Use Sleep instead of usleep on windows in JACK backend
2013-12-03 20:28:10 +10:00
ae6b0b9f1a
minor tweaks to MIDI clock support, including delivery of position events/messages when stopped
2013-12-02 23:34:12 -05:00