Re: Can't set kAudioSubDevicePropertyDriftCompensation
Re: Can't set kAudioSubDevicePropertyDriftCompensation
- Subject: Re: Can't set kAudioSubDevicePropertyDriftCompensation
- From: Jeff Johnson <email@hidden>
- Date: Mon, 31 Mar 2014 12:55:24 -0500
For the record, it turns out that there was no problem with the code, but I had to run the run loop for a fraction of a second before calling it, because ... ugh?
On Mar 31, 2014, at 11:34 AM, Jeff Johnson <email@hidden> wrote:
> I can successfully create an aggregate device with kAudioPlugInCreateAggregateDevice. I can successfully add subdevices to the aggregate device with kAudioAggregateDevicePropertyFullSubDeviceList. I can successfully set one of the subdevices as the master clock with kAudioAggregateDevicePropertyMasterSubDevice. I can successfully get the objectIDs of the subdevices with kAudioObjectPropertyOwnedObjects. However, I am unable to set kAudioSubDevicePropertyDriftCompensation for any of the subdevices using AudioObjectSetPropertyData(). I've tried at least a dozen different combinations of parameters for the function, but I always get kAudioHardwareUnknownPropertyError. Does anyone know the magic combination to get this to work? FWIW, I'm running Mac OS X 10.8.5.
_______________________________________________
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