Commit graph

172 commits

Author SHA1 Message Date
Robin Gareus
cdcccd8101 handle edge-case where jack-meta-data may be NULL, but the call succeeds
this fixes #6968
2016-08-19 14:38:37 +02:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Robin Gareus
0ae634cb1e fix jack_port_rename() detection 2016-07-01 19:08:52 +02:00
nick_m
34c9ac9dd7 Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt() 2016-05-27 23:38:17 +10:00
nick_m
7fc3b0c34c Initial stab at tempo ramps.
Replaces the list of points in TempoMap with TempoSection functions, which
compute tempo-at or tick-at time relative to tempo section start.
TempoMap consults them additively to determine things like bbt_time(),
frame_time() get_grid() etc.
This has a marked effect on scrolling speed along with the code simplification
in the places it has been attempted.

Several things are broken here.
Currently every ramp except the last one is an exponential ramp. this may
be simple to fix :).
Mouse-over midi grid doesn't match mouse click grid. should also be simple.

Many things seem to work, but their accuracy should be in question until
each area has been addressed.
2016-05-27 23:38:09 +10:00
Robin Gareus
9840a11537 implement metadata-set for remaining backends 2016-04-18 00:35:51 +02:00
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
b7e06693be nitpick 2016-01-07 20:44:59 +01:00
Paul Davis
d735145969 fix missing symbol on OS X 2016-01-07 10:40:08 -05:00
Robin Gareus
7ad8ad8823 JACK: expose --nperiods option 2015-12-05 13:56:18 +01:00
Robin Gareus
73d1de3b75 NOOP, remove trailing whitespace, replace tabs in python scripts 2015-11-29 17:54:31 +01:00
Robin Gareus
661ffe7576 fix JACK/windows compilation 2015-10-28 14:11:17 +01:00
Robin Gareus
997f47360d use weak-jack's jack_port_rename wrapper
This avoids "[ERROR]: JACK: jack_port_set_name: deprecated".

if libjack does not have jack_port_rename(), weak_libjack.def provides
a fallback using jack_port_set_name().
2015-10-28 01:21:24 +01:00
Tim Mayberry
34d9b2148e Remove an unnecessary boolean argument in jack utils
Specify latency in JackCommandLineOptions instead
2015-10-06 13:29:57 +10:00
Robin Gareus
97bd6db2b7 remove i/ofstream from libardour
except: 
 * audio-unit (ifstream is known to work on OSX)
 * evoral curve algorithm debugger
 * cycle-timer debug code
 * export_handler's CDMarker  -> TODO
2015-10-05 22:15:17 +02:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
679903fd22 fix jack startup on OSX (w/midi) 2015-08-11 19:43:57 +02:00
Robin Gareus
fa7bb93329 fix jack_port_get_aliases return value (if n/a) 2015-07-04 12:54:41 +02:00
Robin Gareus
a68221e323 fix jack/pthread windows condition 2015-07-04 11:49:44 +02:00
Robin Gareus
9ccfb921d4 synchronize with https://github.com/x42/weakjack/ 2015-07-04 11:46:09 +02:00
Robin Gareus
416ef93635 use a trick to compile JACK/win with new and old headers
jack/systemdeps.h is jack2-only and contains many
windows-specific typedefs (native windows threads, ptw32 threads, MSVC
special cases etc etc.) which are not present in jack1/shared headers.
2015-07-04 09:52:04 +02:00
Robin Gareus
58a7b0e137 fix side-effect of moving to jack1 headers 2015-07-04 05:59:37 +02:00
Robin Gareus
278cd98799 fix compilation with mingw + pthreads 2015-07-04 05:48:42 +02:00
Robin Gareus
efb9da770d fix use of += in waf variable 2015-07-04 05:43:34 +02:00
Robin Gareus
c905be691d only compile, don’t link & run jack checks 2015-07-04 04:24:22 +02:00
Robin Gareus
d48a5f7068 fix weak jack w/new jack_port_rename() 2015-07-04 00:20:12 +02:00
Paul Davis
35ab6e9075 fix error in type definition for weak jack handling of jack_port_rename 2015-07-02 14:24:49 -04:00
Paul Davis
aaab192436 add conditional use of jack_port_rename(), a newly added public API for JACK 2015-07-02 14:02:07 -04:00
Robin Gareus
573ec69a9a probe buffersize if jackd is already running. 2015-06-14 18:10:31 +02:00
Christopher Arndt
a9bc95a911 Fix mixed spaces/tabs in wscripts 2015-05-03 19:52:38 +02:00
John Emmas
fe3aafec1c When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand 2015-04-30 18:17:23 +01:00
Robin Gareus
82cc394705 fix jack-metadata for weak-jack linking 2015-04-23 20:19:22 +02:00
Paul Davis
52a58f1ad2 fix JACK metadata configure check.
Trying to explicitly specify linkflags is (a) not portable (b) doesn't honor order-sensitive linkers
2015-04-23 13:48:18 -04:00
Paul Davis
f755185825 add a real check for functioning JACK metadata API; remove configure time option for this 2015-04-23 09:29:45 -04:00
nick_m
bdf9b2f47c Backend - change midi optons string.
Multimedia Extensions -> System MIDI (MME)
2015-03-28 03:35:45 +11:00
Robin Gareus
7a4f1cb98f only jack+windows use portaudio.
fixes missing lib if portaudio-backend is used on on non-windows
platforms (pkg-config defines HAVE_PORTAUDIO)
2015-03-13 13:32:14 +01:00
Robin Gareus
99260742d2 mingw: all code is position independent 2015-03-11 14:58:02 +01:00
Robin Gareus
bc7be6fd3e there’s no jack_creator_thread on windows 2015-03-09 00:09:42 +01:00
Robin Gareus
9107a4b7fe add a no-jack-metadata option for poor 12.04 souls
(jack does have metadata support but ubuntu packaged
a version with a wrong header)
2015-03-08 21:31:08 +01:00
Robin Gareus
20cd14cf36 add backend support for port properties (jack) 2015-03-08 19:02:31 +01:00
Robin Gareus
95558b5878 update https://github.com/x42/weakjack/ 2015-03-08 16:22:14 +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
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
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
0018ee2b02 fix “invalid use of incomplete type jack_client_t”
introduced in 66eef25
2015-01-30 11:02:07 +01:00
Robin Gareus
66eef257d8 fix jack thread joining
at the time the graph gets around to takes down 
client threads, the jack-backend’s jack_client has been reset.
But never mind: libjack does not care about it, anyway.
2015-01-30 01:28:52 +01:00
Robin Gareus
37f351ccdd JACK: add support for device names with whitespace
This is backwards compatible, quotes are only added if needed.
JACK1 < 0.123.1-30 and JACK2 < 1.9.10-25 fail with either
whitespace or quotes, so nothing is lost.
2015-01-14 19:29:55 +01:00
Robin Gareus
4ba4677b45 yet another copy/paste typo :( 2014-11-13 22:19:22 +01:00
Robin Gareus
9301ffafab fix typo in b9fc616538 2014-11-13 21:46:30 +01:00