diff options
author | Robin Gareus <robin@gareus.org> | 2015-06-10 03:00:00 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-06-10 03:00:00 +0200 |
commit | 9563e75cca3b7a54f66dd7a7eeed2a5dad415af4 (patch) | |
tree | c0e37ce721c0f4c2abbe1ccfbdd66016b31aa122 /libs/backends | |
parent | df840cec138ae36d935eb8f795845fad07899c47 (diff) |
hide the aggregate device, again
further amends to 17453ec debugging.
Diffstat (limited to 'libs/backends')
-rw-r--r-- | libs/backends/coreaudio/coreaudio_pcmio_aggregate.cc | 4 |
1 files changed, 0 insertions, 4 deletions
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); |