587dc283ea
Fix stuck faders on very fine adjustments.
...
I attempted to preserve the "don't draw unless different" by ditching rounding for more
precise display_span, but that didn't work. An alternative solution would be
to draw on adjustment change if there's text, since then we need to redraw
regardless of slider position, but it seemed weird even just with respect to
the slider, so I opted for this, which really definitely redraws when the
adjustment changes, period.
If this proves to be a performance issue we'll have to figure that out.
2014-12-05 15:19:43 -05:00
fb406e5b36
fix small memory leak in the tests
2014-12-05 20:57:07 +01:00
8714fab1bc
update to 'new' ControlList API
...
add (double when, double value, bool with_guards=true, bool with_default=true);
2014-12-05 20:57:07 +01:00
91d3e8ead0
if a Route's processor lock cannot be taken, fill buffers with silence (causing click) rather than abort()
2014-12-05 14:49:30 -05:00
cf3faf1b42
fix "expected" <> "actual" semantics in test-util
2014-12-05 18:32:16 +01:00
4bc4cd0e20
save and restore color aliases
2014-12-05 11:17:56 -05:00
ab4b0dcffe
add default (for now) color aliases to default_ui_config
2014-12-05 11:17:43 -05:00
db9fbac7b5
added new header file for color aliases
2014-12-05 09:36:55 -05:00
0045891362
part two of remove CANVAS_STRING_VARIABLE (it was replaced by CANVAS_FONT_VARIABLE
2014-12-05 09:26:12 -05:00
dd49a249ad
remove CANVAS_STRING_VARIABLE (it was replaced by CANVAS_FONT_VARIABLE
2014-12-05 09:25:34 -05:00
2449fc9681
several steps closer to more sane color system
2014-12-05 09:01:55 -05:00
207fd04587
include alpha-delta computation in HSV::delta()
2014-12-05 09:01:55 -05:00
d0a18a8c35
correct alias definitions in default derived color list
2014-12-05 09:01:55 -05:00
46ed23116e
make new color aliases actually work
2014-12-05 09:01:55 -05:00
8e54baa65f
working compilation for new color code
2014-12-05 09:01:55 -05:00
17ad6a5078
Add 'pbd/crossthread.cc' to the MSVC build
2014-12-05 08:40:47 +00:00
0bf778c847
Make recorded MIDI controls discrete, take 2.
...
Hopefully-desired behaviour is that controls created in the GUI are linear, so
clicking in stuff works like other automation, but controls that originated
from recording are set to discrete so Ardour plays back the input exactly,
instead of doing crazy things like linear interpolation of already high-rate
user input, hold pedals, and so on.
Hopefully that remains the desired behaviour, because we're basically screwed
for ever making any control discrete by default, since we only save the mode to
XML at all if it's not the default, which is currently linear.
2014-12-05 00:15:40 -05:00
ad340333f4
Revert "Create discrete lists for recorded MIDI controls."
...
This broke saving/restoring interpolation style.
This reverts commit 07a381a8f5
.
2014-12-05 00:03:47 -05:00
b426873f6f
Add MIDI control points only in internal/pencil.
2014-12-04 22:40:39 -05:00
124e54f01b
Fix crash when twiddling MIDI controllers ( #6050 ).
2014-12-04 22:23:16 -05:00
59af923b77
Fix steps for log controls with wide range.
2014-12-04 21:22:31 -05:00
e1e1679728
Alois Cochard Add MIDI map for the control surface.
2014-12-04 13:32:08 -05:00
55c4889c9a
fix windows compilation
2014-12-04 17:13:43 +01:00
b996f07122
add required header
2014-12-04 11:05:33 -05:00
697c397f37
move WSAStartup() and WSACleanup() out of per-object methods into per-library init/cleanup methods
2014-12-04 10:07:11 -05:00
4e8dfda880
clean up whitespace
2014-12-04 09:11:46 -05:00
5f9e81b105
Include pbd/crossthread.cc in the mingw build
2014-12-04 16:16:06 +07:00
12acce0d0e
Use correct name for windows.h
2014-12-04 16:15:07 +07:00
24727e65be
Make gain controls step by roughly 1.0/0.1 dB.
...
Shoot for roughly 30 steps for all controls.
Always keep sensible step information in ParameterDescriptor and just convert
for the UI.
This is a little weird, but it's less weird than it was before, and works.
2014-12-04 00:30:47 -05:00
9b770c7aff
actual expected test results:
...
We should not add an initial implicit value
at time ‘0’ to automations.
2014-12-04 03:55:03 +01:00
b437de714f
make all tests pass
2014-12-04 03:53:26 +01:00
fb63b3ffc3
fix to follow changes to evoral/libardour split
2014-12-03 21:22:53 -05:00
602e390649
changes to Mackie Control support for new crossthreadchannel implementation
2014-12-03 21:22:34 -05:00
2f0c998210
adapt changes to async MIDI port to use new evoral/libardour split
2014-12-03 21:11:24 -05:00
7ab3da66b5
fix up BaseUI to use crossthreadchannel on all platforms
2014-12-03 21:11:02 -05:00
d3e2de8b4e
modify Mackie surface code to use crossthreadchannel on all platforms
2014-12-03 20:57:58 -05:00
f4726cc6fa
modify MidiUI code to use crossthreadchannel on all platforms
2014-12-03 20:55:44 -05:00
d762ed8c22
alter Async MIDI port implementation to use crossthreadchannel on all platforms
2014-12-03 20:53:49 -05:00
f72b87b448
new platform specific crossthreadchannel files
2014-12-03 20:47:59 -05:00
5c51b302ce
manually merge new CrossThreadChannel implementation for windows from Tracks
2014-12-03 20:47:27 -05:00
888bf2d551
Test: update AutomationList properties for v3.5
2014-12-03 23:37:27 +01:00
40087eb378
Test: print assert message if XML property mismatch
2014-12-03 23:27:14 +01:00
b52d8e5151
fix audioengine use in unit-tests.
2014-12-03 20:47:29 +01:00
89d48f4459
fix MTDM test
2014-12-03 20:45:27 +01:00
d2a069178a
allow spaces in TOP, cd to gtk2_ardour to avoid dup midnam, etc warnings
2014-12-03 20:45:12 +01:00
339670b6fa
Tests: ensure that libardour is initialized
2014-12-03 20:45:01 +01:00
32269f0c5a
fix audio-engine dtor.
...
backends - once instantiated - keep a reference to the engine.
when audioengine is destroyed, the backends must be deinstantiated.
This fixes various unit-test cases.
2014-12-03 20:44:47 +01:00
9268d2e699
allow to auto-start dummy backend (needed for tests)
2014-12-03 18:24:56 +01:00
d45e19eda5
fix test segfault
...
whe XMLTree goes out of scope, the root-node is deleted
2014-12-03 16:03:57 +01:00
0d677f70b4
use Dummy backend for tests
2014-12-03 16:03:19 +01:00