Commit graph

103 commits

Author SHA1 Message Date
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
87c36aba60 use new error-messages 2015-10-02 17:51:17 +02:00
Robin Gareus
3f99c44ff6 improve CoreAudio error reporting 2015-10-02 17:28:28 +02:00
Robin Gareus
1c43383e92 CoreAudio: use libardour provided DSP load calc. 2015-09-16 18:24:57 +02:00
Robin Gareus
fa32fa1abe replace "None" with DeviceNone in ALSA/Coreaudio
TODO: separate MidiSystemNone
2015-09-02 13:33:40 +02:00
Robin Gareus
b6f51b2497 coreaudio: re-classify port-errors as warnings 2015-08-28 15:41:33 +02:00
Robin Gareus
548340eb05 remove -Woverload-virtual ambiguity (from 1d3690d)
this breaks compilation in engine_dialog.cc
2015-08-11 23:50:56 +02:00
Robin Gareus
8f10b38275 coreaudio backend: SR/BS query for separate devices 2015-08-11 15:38:04 +02:00
Robin Gareus
e8b2d7a85b fix coreaudio half-duplex buffersize query 2015-08-11 04:43:07 +02:00
Robin Gareus
64baed2b97 coreaudio aggregate device fix for 10.5 2015-07-24 01:34:57 +02:00
Robin Gareus
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
Robin Gareus
2d098c346a add a raw CoreMidi data debug mode 2015-07-01 22:14:30 +02:00
Robin Gareus
b687ed9339 consolidate & document Coreaudio midi parser 2015-07-01 18:14:48 +02:00
Robin Gareus
da0ca57539 NOOP, reindent & whitespace 2015-07-01 01:18:52 +02:00
Robin Gareus
b86cf68e1f add an explicit midi parser/chunker to CoreAudio 2015-07-01 01:12:30 +02:00
Robin Gareus
9563e75cca hide the aggregate device, again
further amends to 17453ec debugging.
2015-06-10 03:00:00 +02:00
Robin Gareus
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
Robin Gareus
9a8d5583f4 fix OSX optimized builds (NDEBUG) 2015-06-09 22:24:46 +02:00
Robin Gareus
17453ec855 debug aggregate device issue - i386/10.8 only 2015-06-09 21:34:16 +02:00
Robin Gareus
70a0ee504c coreaudio: initialize [output] variable.
possible fix for 32bit/10.8,
AudioObjectGetPropertyDataSize error
2015-06-09 19:18:59 +02:00
Robin Gareus
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
Robin Gareus
b36d95d971 half-duplex Coreaudio support. 2015-06-04 02:44:58 +02:00
Robin Gareus
1fe738a36e coreaudio support for multiple devices 2015-06-01 01:02:38 +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
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
Paul Davis
88f7c76134 allow coreaudio backend to build on OS X Lion 2015-04-20 23:12:35 -04:00
Robin Gareus
cde15cb3ad coreaudio: swap default aggregate clock source.
Thanks to Stephane & the JACK2 team.
2015-03-30 13:18:51 +02:00
Robin Gareus
5090934a2c clean out cruft from CoreAudio Backend 2015-03-13 14:05:12 +01:00
Robin Gareus
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
Robin Gareus
6d2189f9e3 reasonably sized CoreMidi Buffers 2015-03-11 12:23:05 +01:00
Robin Gareus
c3d7654884 coreaudio backend: switch threads early 2015-03-11 00:27:14 +01:00
Robin Gareus
a6b9e81ed1 10ms = 1e7 nsec 2015-03-10 00:09:01 +01:00
Robin Gareus
22a91f47bb rework/optimize CoreMidi 2015-03-09 23:28:57 +01:00
Robin Gareus
efbc00651f NOOP, add header-guards and namespace to CA backend 2015-03-09 23:28:57 +01:00
Robin Gareus
0446ff64f4 implement samples_since cycle start. 2015-03-09 17:17:50 +01:00
Robin Gareus
f2592df842 fix typo in 72ed785 2015-03-09 05:59:46 +01: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
72ed785940 allow hotplugging CoreMidi devices. 2015-03-09 00:26:01 +01:00
Robin Gareus
8fd67c5a88 coremidi separate ID and Name, use fixed IDs. 2015-03-08 19:02:31 +01:00
Robin Gareus
0cf11acc27 add backend support for port properties (CoreAudio) 2015-03-08 19:02:31 +01:00
Robin Gareus
2657992ebb CoreAudio fwheelin’ state-machine cleanup etc. 2015-03-08 19:02:30 +01:00
Robin Gareus
c3430e5884 Cluster Frak String Reference 2015-03-08 02:51:09 +01:00
Robin Gareus
95631cdc25 properly handle empty CFStringRefs. 2015-03-08 01:40:39 +01:00
Robin Gareus
7edc7a8d28 CoreAudio: fix allocation alignment 2015-03-07 23:27:33 +01:00
Robin Gareus
d47ad23fe8 no more gcc/ppc complaints 2015-03-07 16:10:45 +01:00
Robin Gareus
7af3fdb99a fix various -Wformat 2015-03-07 15:04:17 +01:00
Robin Gareus
659a8a26ae fix latency report, take buffersize changes into account. 2015-03-07 14:35:32 +01:00
Robin Gareus
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
Robin Gareus
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