• 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
kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?


  • Subject: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
  • From: Oron Cherry <email@hidden>
  • Date: Mon, 21 Dec 2015 10:34:49 +0000
  • Thread-topic: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?

Hi,

 

It appears that the call to AudioDeviceGetProperty with kAudioDevicePropertyClockDomain returns a different clock domain for the built-in audio device in compared with built-in audio device out.

Here’s a code example:

 

bool bRet = false;

UInt32 unSize = sizeof(UInt32);

UInt32 unClockDomainIn = 0;

UInt32 unClockDomainOut = 0;

   

// 1. Get clock domain of input device

OSStatus err = AudioDeviceGetProperty(inDevice->DeviceID(), 0, 0, kAudioDevicePropertyClockDomain, &unSize, &unClockDomainIn);

   

if(err)

{

// Some error handling here

}

   

// 2. Get clock domain of output device

err = AudioDeviceGetProperty(outDevice->DeviceID(), 0, 0, kAudioDevicePropertyClockDomain, &unSize, &unClockDomainOut);

   

if(err)

{

// Some error handling here

}

   

// 3. Compare the domains

if(unClockDomainIn == unClockDomainOut)

{

bRet = true;

}

   

return bRet;

   

Up to Mavericks, when comparing built-in audio device in to out, unClockDomainIn is equal to unClockDomainOut.

In Yosemite and El Capitan unClockDomainIn and unClockDomainOut are not the same.

 

What could be the problem here?

 

Thanks,

Oron

 _______________________________________________
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: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
      • From: Paul Davis <email@hidden>
  • Prev by Date: Embed Audio Server Plug-In in Application?
  • Next by Date: Re: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
  • Previous by thread: Embed Audio Server Plug-In in Application?
  • Next by thread: Re: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
  • Index(es):
    • Date
    • Thread