Strange error when dynamically creating aggregate devices
Strange error when dynamically creating aggregate devices
- Subject: Strange error when dynamically creating aggregate devices
- From: Stéphane Letz <email@hidden>
- Date: Fri, 2 Apr 2010 09:23:59 +0200
Hi,
We get a bug report on the following machine:
Macbook Pro Unibody, 2.8GHZ;
RAM: 4G
OSX 10.6.2
when creating an aggregate device with "built in mic" and "built in output"
After creating the new aggregate device, it is filled up with the input/output device with the following code :
pluginAOPA.mSelector = kAudioAggregateDevicePropertyFullSubDeviceList;
pluginAOPA.mScope = kAudioObjectPropertyScopeGlobal;
pluginAOPA.mElement = kAudioObjectPropertyElementMaster;
outDataSize = sizeof(CFMutableArrayRef);
osErr = AudioObjectSetPropertyData(*outAggregateDevice, &pluginAOPA, 0, NULL, outDataSize, &subDevicesArray);
if (osErr != noErr) {
jack_error("JackCoreAudioDriver::CreateAggregateDevice : AudioObjectSetPropertyData for sub-device list error");
printError(osErr);
goto error;
}
And we get the "kAudioHardwareBadObjectError" error.
This is the only case we got up to now.
Any idea on what could be the reason?
Stephane Letz
_______________________________________________
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