From df840cec138ae36d935eb8f795845fad07899c47 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 10 Jun 2015 02:46:10 +0200 Subject: [PATCH] undo debug (17453ec) info. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc b/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc index c50911221e..d9831b5509 100644 --- a/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc +++ b/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc @@ -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; }