Commit graph

89 commits

Author SHA1 Message Date
Robin Gareus
ba78359129 prepare for update to waf 1.8
uselib is no longer implicit (inherited by .use). This is still incomplete,
some uselibs for non-linux variants may be missing.

bld.is_defined("HAVE_XXX") also no longer works and will have to be
changed (I think to bld.env["HAVE_XXX"]) in countless places.
2016-02-28 21:16:44 +01:00
Robin Gareus
5bdab24746 add some midi-debug printf() to the dummy backend 2015-11-28 22:54:00 +01:00
Robin Gareus
4b25c80cb9 fix edge-case in Dummy-backend random number generator initialization 2015-11-12 09:49:40 -06:00
Robin Gareus
87c36aba60 use new error-messages 2015-10-02 17:51:17 +02:00
Robin Gareus
bd5b97e964 Dummy: add a CC only test-sequence 2015-09-19 19:00:43 +02:00
Robin Gareus
1691e965a5 update reported DSP load for ALSA & Dummy 2015-09-16 18:24:57 +02:00
Tim Mayberry
faa38a0d29 Use ARDOUR::DSPLoadCalculator in DummyBackend 2015-09-16 11:22:17 +10:00
Tim Mayberry
305f1d73bb Use PBD::get_microseconds() from pbd/windows_timer_utils.h in DummyBackend 2015-09-16 11:22:17 +10:00
Robin Gareus
d11b15fbca dummy, allow 8k buffer-size. 2015-09-08 15:14:02 +02:00
Robin Gareus
788234e317 fix dummy-backend driver state
When loading previous state, set_driver() is called before
enumerate_drivers(). 
The available driver list must be available early on.
2015-09-06 10:42:29 +02:00
Robin Gareus
3fc5bf617a mode dummy speeds 2015-09-06 00:46:05 +02:00
Robin Gareus
4ef62a0d6d add dummy-backend speed-selection 2015-09-06 00:33:24 +02:00
Robin Gareus
d6df63ed91 Dummy-Backend: special case unit-test 2015-09-05 01:15:28 +02:00
Robin Gareus
dace872af8 fix Dummy backend API. Already_configured means "externally". 2015-08-14 16:26:44 +02:00
Robin Gareus
a9b6277d50 Dummy -> Audio system: "None"
check if gettext() static initialization works with all compilers.
2015-08-05 00:45:08 +02:00
Robin Gareus
4f81b17e85 another float/double -Wabsolute-value fix 2015-07-05 16:13:08 +02:00
Robin Gareus
56cc3e2407 fix portengin get_ports() flags API
require all flags to be present (same as jack)
2015-05-03 22:34:52 +02:00
Robin Gareus
2f432c3be7 dummy: ignore first cycle timing. 2015-05-01 15:58:17 +02:00
Robin Gareus
49ffcd0d9d clamp DSP load displsy 100% & relax LPF. 2015-04-30 02:00:50 +02:00
Robin Gareus
e3cd57ecb6 DSP load calculation: favor peak over average. 2015-04-29 21:27:37 +02:00
Robin Gareus
bb4576b700 Dummy: fix sine/square frequency sweep 2015-04-17 17:09:52 +02:00
Robin Gareus
d8d9f9b486 proper port unregistration (just some refactoring, noop) 2015-03-14 22:59:07 +01:00
Tim Mayberry
47b1c2889c Include windows.h in Dummy backend for LARGE_INTEGER
This is necessary for a native build using MSYS2 and mingw-w64
2015-03-12 23:03:45 +10:00
Robin Gareus
09dd3fc369 some backends can handle incorrectly ordered midi events.
(that can happen if multiple sources send to the same
ouput port, in particular async midi events)
2015-03-09 05:41:36 +01:00
Robin Gareus
50041cb450 avoid non-integer loop conditions. 2015-03-08 02:01:48 +01:00
Robin Gareus
f88e566576 fix copy/edit in 659a8a2 2015-03-07 14:50:02 +01:00
Robin Gareus
659a8a26ae fix latency report, take buffersize changes into account. 2015-03-07 14:35:32 +01:00
Ben Loftis
e3dd226ffa Change order of midi entries so a new backend will default to a working midi system.
Needs testing on all platforms.
2015-03-03 15:57:08 -06:00
Robin Gareus
bf1d12708d dummy: add square wave frequency sweep generators 2015-02-21 05:05:48 +01:00
Paul Davis
582138f280 change Audio backend sample time methods to use a 64 bit timeline 2015-02-19 17:44:01 -05:00
Robin Gareus
e148ee52ab add a nonsense-midi test sequence:
system:midi_capture_6 
duplicate on/off, zero-velocity note-on
2015-02-19 21:58:30 +01:00
Robin Gareus
8a93a87db0 remove lib versioning for internal plugins
Those objects do not have a versioned API by themselves.
This fixes issues with duplicate deployment (OSX, Linux bundles: cp) and
ardour listing control-surfaces multiple times (file index plugin dir).
2015-02-16 17:32:56 +01:00
Robin Gareus
f2ea059db3 DummyBackend: sync switch to freewheeling 2015-01-24 22:45:42 +01:00
Robin Gareus
4d370b8942 add a midi->audio dummy backend mode.
this allows to easily debug latency compensation
as well as visualize lost midi events.
2015-01-11 20:51:57 +01:00
Robin Gareus
f499f4cfd2 don't take temporary copy of MIDI sequence
fixes potential boost shared_ptr double free.
2014-12-31 03:19:00 +01:00
Robin Gareus
805d4dd731 add a MIDI loopback mode to the Dummy Backend 2014-12-30 22:55:14 +01:00
Robin Gareus
47d083d02d update numbering of midi-test sequences 2014-12-29 14:36:39 +01:00
Robin Gareus
95fcf18245 add a midi-CC sustain-pedal test sequence 2014-12-29 14:32:03 +01:00
Robin Gareus
6e38d3777e add 'size' field to midi-sequences 2014-12-29 14:09:46 +01:00
Robin Gareus
c3c6f619c3 make it easier to add new midi sequences 2014-12-29 13:58:15 +01:00
Robin Gareus
9268d2e699 allow to auto-start dummy backend (needed for tests) 2014-12-03 18:24:56 +01:00
Robin Gareus
929d3fe6ed fix signed/unsigned compiler warning 2014-11-10 22:21:39 +01:00
Robin Gareus
a37ffd1f0c improve random seed (for dummy generators) 2014-11-10 22:20:36 +01:00
Robin Gareus
159cb4d2f9 another hack for windows timers, DSP load calculation 2014-11-07 12:17:15 +01:00
Robin Gareus
6cda13fad4 possible fix for DSP load calculation on windows 2014-11-06 17:29:35 +01:00
Robin Gareus
8d4cbc4cc1 fix Dummy DSP load on win32 & low-pass filter load
g_get_monotonic_time() has millisecond granularity,
use performance Counter if available
2014-10-31 22:51:47 +01:00
Robin Gareus
d991bb10ca add 'available' interface to the AudioBackendInfo
If a backend can be loaded, it does not mean that it can be used;
e.g. weak-linked jack-backend if libjack is not available.
2014-10-23 16:53:14 +02:00
Paul Davis
68458cde69 fix all 4 backends' failure to include the main "backend" thread when computing ::in_process_thread() 2014-10-22 17:07:11 -04:00
Robin Gareus
8525a0b258 add a Dummy Backend Loopback mode: 2014-10-11 14:47:35 +02:00
Robin Gareus
32e05fa640 update backends for API change in 8d59afb048 2014-10-01 03:24:54 +02:00