diff options
author | Robin Gareus <robin@gareus.org> | 2015-06-10 02:46:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-06-10 02:46:10 +0200 |
commit | df840cec138ae36d935eb8f795845fad07899c47 (patch) | |
tree | 4b0eac2262eed0c6abc84b112f7de8ba99efbaf6 /libs | |
parent | aad43bce4a1214060e858fbc7666e03e7f21a901 (diff) |
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.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc | 8 |
1 files 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; } |