Aggregate Device and kAudioAggregateDeviceIsPrivateKey
Aggregate Device and kAudioAggregateDeviceIsPrivateKey
- Subject: Aggregate Device and kAudioAggregateDeviceIsPrivateKey
- From: paul <email@hidden>
- Date: Mon, 31 Mar 2014 17:22:53 +0100
Hi,
I have code which creates a ‘stacked’ output aggregate device which works well: output is fed to multiple devices, I can treat the aggregate as any other device.
If I set the kAudioAggregateDeviceIsPrivateKey then the device appears to created (albeit hidden) and I can manipulate it as before (add / remove sub devices, set the master device etc). I am, however, unable to set the device as the default output using kAudioHardwarePropertyDefaultOutputDevice and the aggregate device ID. The call does not return an error but the device is not selected as the output - which in itself raises another less important question; what does the system see as the default output device in that case?
I’ve retrieved the composition dictionary for both the ‘public’ and the ‘private’ device and the only difference I can see is, as expected, the value of the “private” key.
<CFString 0x618000025de0 [0x7fff721d9f00]>{contents = "private"} = <CFBoolean 0x7fff721da800 [0x7fff721d9f00]>{value = false}
and
<CFString 0x61000002f2c0 [0x7fff721d9f00]>{contents = "private"} = <CFBoolean 0x7fff721da7f0 [0x7fff721d9f00]>{value = true}
Thanks in advance,
P
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden