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

Re: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?


  • Subject: Re: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
  • From: Paul Davis <email@hidden>
  • Date: Mon, 21 Dec 2015 06:35:20 -0500

This is not an error. It is the reason why Apple, since they switched to Intel devices, has not had a unified/duplex builtin audio device.

The clock sources for playback and capture really *are* different on Intel ICH audio chipsets, so the results you're getting are just reflecting reaity.

On Mon, Dec 21, 2015 at 5:34 AM, Oron Cherry <email@hidden> wrote:

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

 _______________________________________________
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

References: 
 >kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite? (From: Oron Cherry <email@hidden>)

  • Prev by Date: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
  • Next by Date: High CPU audio drops?
  • Previous by thread: kAudioDevicePropertyClockDomain of built in audio device changed starting Yosemite?
  • Next by thread: High CPU audio drops?
  • Index(es):
    • Date
    • Thread