13
0

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.
This commit is contained in:
Robin Gareus 2015-06-10 02:46:10 +02:00
parent aad43bce4a
commit df840cec13

View File

@ -228,16 +228,16 @@ CoreAudioPCM::create_aggregate_device (
UInt32 outDataSize = 0;
err = AudioObjectGetPropertyDataSize(_aggregate_plugin_id, &pluginAOPA, 0, NULL, &outDataSize);
#ifdef WE_DONT_CARE_ABOUT_SOME_ODD_MAVERICKS_I386_ODDITITY
if (err != noErr) {
fprintf(stderr, "AggregateDevice: AudioObjectGetPropertyDataSize error %d\n", err);
char *rv = (char*)&err;
fprintf(stderr, "AggregateDevice: AudioObjectGetPropertyDataSize error '%c%c%c%c' 0x%08x\n", rv[0], rv[1], rv[2], rv[3], err);
goto error;
}
#endif
err = AudioObjectGetPropertyData(_aggregate_plugin_id, &pluginAOPA, sizeof(aggDeviceDict), &aggDeviceDict, &outDataSize, created_device);
if (err != noErr) {
fprintf(stderr, "AggregateDevice: AudioObjectGetPropertyData error %d\n", (int) err);
char *rv = (char*)&err;
fprintf(stderr, "AggregateDevice: AudioObjectGetPropertyData error '%c%c%c%c' 0x%08x\n", rv[0], rv[1], rv[2], rv[3], err);
goto error;
}