6b5d374352
Some more assert() debugging
2017-08-03 23:46:05 +02:00
f9db9bf5fd
Retain order of concurrent MIDI events
...
This fixes an issue with FaderPort8 (and maybe other surfaces or synths).
2017-04-08 23:43:50 +02:00
43bd7f5db1
fix const-cast
2016-11-12 16:20:43 +01:00
56711b99c9
Work around OSX MIDI devices that send no timestamps
2016-10-19 19:45:53 +02:00
355fa64c79
fix Coreaudio Aggregate for separate devices with identical names
2016-08-28 13:44:30 +02:00
957f59f351
print a warning if CoreAudio falls back to non realtime priority
2016-08-22 17:38:45 +02:00
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
8444837b71
properly sort port-names
2016-07-14 16:52:43 +02:00
ac923be7af
fix port-sort order for good.
...
TODO find out how to make std::set::find() work with custom sort order,
as std::find may only be O(N) and not O(log (N)).
2016-07-08 21:37:42 +02:00
f84a7605d8
pre-sort port-names
2016-07-08 20:44:21 +02:00
43e620504a
port 93eac8b0
to ALSA and CoreAudio
2016-04-26 18:19:48 +02:00
2169de3975
keep portmap & portindex in sync when renaming ports
...
Fixes crash on session re-load (introduced in 800c8182
and fde99e68
)
2016-04-26 02:26:20 +02:00
fde99e68f7
..and CoreAudio.
2016-04-24 20:45:50 +02:00
9840a11537
implement metadata-set for remaining backends
2016-04-18 00:35:51 +02:00
5dbfca9953
Fix build on El Capitan
...
In which Apple once again changed the name of the MIDI kit from CoreMidi to CoreMIDI, something
they did for the Lion release of OS X
2016-03-01 12:20:59 -05:00
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
0fc06b4a1b
fix warning message typo
2016-01-11 11:45:44 +01:00
a9995c59cc
coremidi: do not clear port buffer for every call to parse_events()
...
This was limiting the data flow to 1 MIDI event per process cycle.
2016-01-10 17:46:36 -05:00
36fb8c44c1
add explanatory comment regarding coremidi data flow
2016-01-09 14:45:38 -05:00
4a99727dea
coremidi: be sure to mark _event._pending false after queueing, so that it doesn't get queued up again later
2016-01-09 13:53:17 -05:00
ef45a6c84b
coreaudio: remove debug output
2016-01-08 09:43:33 -05:00
63cbe11c67
coreaudio: remove debug output
2016-01-08 09:39:55 -05:00
cae2f82278
NOOP: fix whitespace/indendentation in coreaudio backend code
2016-01-08 09:39:00 -05:00
3d5e345800
coreaudio: reset MIDI parsers when entering and leaving freewheeling
2016-01-08 09:23:05 -05:00
9d3cbe44a3
coreaudio: correctly clear MIDI port buffers
2016-01-07 18:11:45 -05:00
c615e26f3c
coreaudio: factor out common code for stuffing MIDI data into a CoreMidiPort buffer
2016-01-07 18:11:45 -05:00
6e71d3b445
coreaudio: per-port parser for incoming MIDI, copied from ALSA Raw MIDI support
2016-01-07 16:42:34 -05:00
7c58b4de5f
coreaudio: reset freewheeling after export
...
fixes lively with session-fadeout
2015-10-10 02:42:13 +02:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
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
87c36aba60
use new error-messages
2015-10-02 17:51:17 +02:00
3f99c44ff6
improve CoreAudio error reporting
2015-10-02 17:28:28 +02:00
1c43383e92
CoreAudio: use libardour provided DSP load calc.
2015-09-16 18:24:57 +02:00
fa32fa1abe
replace "None" with DeviceNone in ALSA/Coreaudio
...
TODO: separate MidiSystemNone
2015-09-02 13:33:40 +02:00
b6f51b2497
coreaudio: re-classify port-errors as warnings
2015-08-28 15:41:33 +02:00
548340eb05
remove -Woverload-virtual ambiguity (from 1d3690d
)
...
this breaks compilation in engine_dialog.cc
2015-08-11 23:50:56 +02:00
8f10b38275
coreaudio backend: SR/BS query for separate devices
2015-08-11 15:38:04 +02:00
e8b2d7a85b
fix coreaudio half-duplex buffersize query
2015-08-11 04:43:07 +02:00
64baed2b97
coreaudio aggregate device fix for 10.5
2015-07-24 01:34:57 +02:00
c0aa5a8d6b
fix typo in old (pre 10.6) coreaudio API wrapper
...
fixes aggregate device support for PPC builds.
2015-07-22 20:20:11 +02:00
2d098c346a
add a raw CoreMidi data debug mode
2015-07-01 22:14:30 +02:00
b687ed9339
consolidate & document Coreaudio midi parser
2015-07-01 18:14:48 +02:00
da0ca57539
NOOP, reindent & whitespace
2015-07-01 01:18:52 +02:00
b86cf68e1f
add an explicit midi parser/chunker to CoreAudio
2015-07-01 01:12:30 +02:00
9563e75cca
hide the aggregate device, again
...
further amends to 17453ec
debugging.
2015-06-10 03:00:00 +02:00
df840cec13
undo debug ( 17453ec
) info.
...
The problem was: OSX i386 builds used --dist-target=leopard
which forced the deprecated 10.5 CoreAudio API.
(build-host config has been changed now).
There is currently insufficient support in ardour’s
CoreAudioPCM::create_aggregate_device() for the old API,
COREAUDIO_108 needs to be defined or aggregate devices stop
working on OSX 10.8 or later.
2015-06-10 02:46:10 +02:00
9a8d5583f4
fix OSX optimized builds (NDEBUG)
2015-06-09 22:24:46 +02:00
17453ec855
debug aggregate device issue - i386/10.8 only
2015-06-09 21:34:16 +02:00
70a0ee504c
coreaudio: initialize [output] variable.
...
possible fix for 32bit/10.8,
AudioObjectGetPropertyDataSize error
2015-06-09 19:18:59 +02:00
e801155dde
Coreaudio: ignore [expected] SR changes.
...
Don’t disconnect from engine if sample-rate change
happens during initialization.
2015-06-07 02:33:21 +02:00
b36d95d971
half-duplex Coreaudio support.
2015-06-04 02:44:58 +02:00
1fe738a36e
coreaudio support for multiple devices
2015-06-01 01:02:38 +02:00
56cc3e2407
fix portengin get_ports() flags API
...
require all flags to be present (same as jack)
2015-05-03 22:34:52 +02:00
49ffcd0d9d
clamp DSP load displsy 100% & relax LPF.
2015-04-30 02:00:50 +02:00
e3cd57ecb6
DSP load calculation: favor peak over average.
2015-04-29 21:27:37 +02:00
88f7c76134
allow coreaudio backend to build on OS X Lion
2015-04-20 23:12:35 -04:00
cde15cb3ad
coreaudio: swap default aggregate clock source.
...
Thanks to Stephane & the JACK2 team.
2015-03-30 13:18:51 +02:00
5090934a2c
clean out cruft from CoreAudio Backend
2015-03-13 14:05:12 +01:00
087b5dc43b
interpret CoreMidi unique ID as unsigned for consistency.
...
coremidi specifies it as SInt32 but system:midi_playback_-126632214 ,
even if only used internally, just does not seem right.
2015-03-11 20:06:41 +01:00
6d2189f9e3
reasonably sized CoreMidi Buffers
2015-03-11 12:23:05 +01:00
c3d7654884
coreaudio backend: switch threads early
2015-03-11 00:27:14 +01:00
a6b9e81ed1
10ms = 1e7 nsec
2015-03-10 00:09:01 +01:00
22a91f47bb
rework/optimize CoreMidi
2015-03-09 23:28:57 +01:00
efbc00651f
NOOP, add header-guards and namespace to CA backend
2015-03-09 23:28:57 +01:00
0446ff64f4
implement samples_since cycle start.
2015-03-09 17:17:50 +01:00
f2592df842
fix typo in 72ed785
2015-03-09 05:59:46 +01:00
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
72ed785940
allow hotplugging CoreMidi devices.
2015-03-09 00:26:01 +01:00
8fd67c5a88
coremidi separate ID and Name, use fixed IDs.
2015-03-08 19:02:31 +01:00
0cf11acc27
add backend support for port properties (CoreAudio)
2015-03-08 19:02:31 +01:00
2657992ebb
CoreAudio fwheelin’ state-machine cleanup etc.
2015-03-08 19:02:30 +01:00
c3430e5884
Cluster Frak String Reference
2015-03-08 02:51:09 +01:00
95631cdc25
properly handle empty CFStringRefs.
2015-03-08 01:40:39 +01:00
7edc7a8d28
CoreAudio: fix allocation alignment
2015-03-07 23:27:33 +01:00
d47ad23fe8
no more gcc/ppc complaints
2015-03-07 16:10:45 +01:00
7af3fdb99a
fix various -Wformat
2015-03-07 15:04:17 +01:00
659a8a26ae
fix latency report, take buffersize changes into account.
2015-03-07 14:35:32 +01:00
ce3adfd3d4
Hard Core Audio
...
* allow to change buffersizes
* subscribe to buffersize & samplerate changes
* add support for half-duplex devices.
* aggregate Devices (not yet used) code from JACK2
* unify deprecated API wrappers
* properly keep track of MIDI ports
* disable MidiI/O during freewheeling
* various small fixes & cleanup
2015-03-07 14:35:32 +01:00
13bad670fa
more ongoing work on the coreaudio backend
...
* audio port names
* latency compensation
* xrun reporting
* various fixes and cleanup
2015-03-06 23:26:05 +01:00
3b941fc0fa
build system tweaks for coreaudio/waves-coreaudio
2015-03-06 23:26:05 +01:00
6b87e706eb
cont’d work on the coreaudio backend & cleanup
2015-03-06 06:24:56 +01:00
f6f64d3f81
get started on coreaudio/midi backend
2015-03-05 16:46:20 +01:00