• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can't set kAudioSubDevicePropertyDriftCompensation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't set kAudioSubDevicePropertyDriftCompensation


  • Subject: Re: Can't set kAudioSubDevicePropertyDriftCompensation
  • From: AI Developer <email@hidden>
  • Date: Thu, 03 Apr 2014 12:02:35 +0530

Or you can tell CoreAudio to run it's own run loop...

See the following discussion:

http://lists.apple.com/archives/coreaudio-api/2009/Oct/msg00214.html

You can write something like this in your app startup code.

    CFRunLoopRef nullRunLoop(0);
OSStatus err = AudioHardwareSetProperty (kAudioHardwarePropertyRunLoop, sizeof(CFRunLoopRef), &nullRunLoop);


Thanks.
Devendra.

On 3/31/14 11:25 PM, Jeff Johnson wrote:
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

_______________________________________________
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


  • Follow-Ups:
    • Re: Can't set kAudioSubDevicePropertyDriftCompensation
      • From: Ed Wynne <email@hidden>
  • Next by Date: Cannot set playback device with NSSound
  • Next by thread: Re: Can't set kAudioSubDevicePropertyDriftCompensation
  • Index(es):
    • Date
    • Thread