X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fbackends%2Fcoreaudio%2Fcoreaudio_pcmio_aggregate.cc;h=7c2d0fe19694a73783e19ce26070a49503b01fac;hb=fa32fa1abe76d6fc363789fc406881b78b002832;hp=d9831b550906f9b634bc66c0bda9c78df00e0087;hpb=df840cec138ae36d935eb8f795845fad07899c47;p=ardour.git diff --git a/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc b/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc index d9831b5509..7c2d0fe196 100644 --- a/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc +++ b/libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc @@ -183,12 +183,10 @@ CoreAudioPCM::create_aggregate_device ( CFDictionaryAddValue(aggDeviceDict, CFSTR(kAudioAggregateDeviceNameKey), AggregateDeviceNameRef); CFDictionaryAddValue(aggDeviceDict, CFSTR(kAudioAggregateDeviceUIDKey), AggregateDeviceUIDRef); -#ifndef NDEBUG // hide from list int value = 1; CFNumberRef AggregateDeviceNumberRef = CFNumberCreate(NULL, kCFNumberIntType, &value); CFDictionaryAddValue(aggDeviceDict, CFSTR(kAudioAggregateDeviceIsPrivateKey), AggregateDeviceNumberRef); -#endif //------------------------------------------------- // Create a CFMutableArray for our sub-device list @@ -337,10 +335,8 @@ CoreAudioPCM::create_aggregate_device ( // Clean up //---------- -#ifndef NDEBUG // release the private AD key CFRelease(AggregateDeviceNumberRef); -#endif // release the CF objects we have created - we don't need them any more CFRelease(aggDeviceDict);