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
63f8d282bd
Merge branch 'master--ignore-JackTransportNetStarting' of https://github.com/nphilipp/ardour
2013-12-10 11:49:18 -05:00
9fb3247350
rationalize color handling for fade in/out handles
2013-12-09 22:04:13 -05: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
e169f5c17f
switch fade in/out lines to ArdourCanvas::Curve rather than ArdourCanvas::PolyLine, though for no apparent benefit
2013-12-09 21:02:42 -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
Nils Philippsen
cd7072fdec
don't overwrite necessary compiler flags
...
Distinguish flags influencing optimization (overridable) from those
necessary for building (e.g. for using SSE).
2013-12-09 17:33:45 +01:00
Nils Philippsen
b4cb506cea
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).
2013-12-09 12:16:54 +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
59da788793
Merge branch 'master' into cairocanvas
2013-12-05 17:50:28 -05:00
c16551c808
Merge branch 'expvis' of https://github.com/mojofunk/ardour into exportvis
2013-12-05 12:19:01 -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
5792674ca4
Merge branch 'master' into exportvis
2013-12-04 11:49:02 -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
d7206b7830
fix gtk child packing errors related to the transport bar meter box/peak display
2013-12-03 19:45:34 -05:00
8648a8a13b
fix up wscript/build issues in exportvis after merge with master
2013-12-03 11:51:25 -05:00
ae6b0b9f1a
minor tweaks to MIDI clock support, including delivery of position events/messages when stopped
2013-12-02 23:34:12 -05:00
76ea055b85
don't run MIDI clock "tick" if session is silent (e.g. due to a locate)
2013-12-02 23:33:33 -05:00
c19f9f8a47
fix continuous send of MIDI start/position/stop messages introduced by mistake
2013-12-01 12:18:57 -05:00
c3c9960427
fix build
2013-11-30 11:17:42 -05:00
3c98de9ce4
fix merge with master
2013-11-29 22:31:29 -05:00
d1cc7e5a50
fix up a bunch of confusion regarding the size/capacity/allocation of audio & midi buffers
2013-11-29 22:26:33 -05:00
0c4457fa83
drop capacity argument from Buffer constructor, since the abstract class cannot (and should not) do anything with it
2013-11-29 22:25:36 -05:00
146734526c
fix indentation
2013-11-29 22:24:59 -05:00
074b0c4dca
add explicit linkage to libtimecode
2013-11-29 22:24:37 -05:00
1190f1d0e0
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
2013-11-27 17:41:54 -05:00
4c0a274b43
do not push new state to backend from audio/MIDI setup until OK or Apply are clicked (i.e. do not do this when device is changed)
2013-11-27 17:41:22 -05:00
680c64246e
Merge branch 'master' into cairocanvas
2013-11-27 16:19:01 -05:00
611d93830a
add 0.5 second sleep after closing JACK connection so that next startup/connect is likely to work (allowing JACK time to shutdown). Ugh
2013-11-27 15:25:10 -05:00
56716a1f28
add error check to call to PortManager::reestablish_ports
2013-11-27 15:24:24 -05:00
dc4a984cd6
move AudioBackend::_start() into protected, and expand a bit on documenting ::start() vs ::_start()
2013-11-27 14:27:27 -05:00
4d0caa6ddd
add yet more missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs, sigh)
2013-11-27 14:08:22 -05:00
4a71e6f28f
add missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs, sigh)
2013-11-27 13:53:58 -05:00
ac4d691fe9
remove unintended linkage between libmidipp and jack
2013-11-27 12:44:23 -05:00
fa22520fd2
Merge branch 'master' into cairocanvas
2013-11-25 09:26:35 -05:00
Sakari Bergen
f1db14923e
Hande export initialization exceptions gracefully
2013-11-23 19:11:31 +02:00
Sakari Bergen
52309c0c4f
Fix invalid assertions in AudioGrapher SampleFormatConverter
...
This fixes an export crash with e.g. 8-bit export
2013-11-23 18:43:54 +02:00
af9ac37b60
fix for toolbar master-meter w/o master bus and/or detached toolbar
2013-11-23 16:48:26 +01:00
5cbd4ce759
fix crash @ session-restore of plugins windows
...
The question is: why is _owner not set [yet], when the
window is restored. This rather smells like a race condition.
2013-11-22 18:22:55 +01:00