• 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: AudioServerPlugin: resynchronization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioServerPlugin: resynchronization


  • Subject: Re: AudioServerPlugin: resynchronization
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 12 Dec 2013 14:58:32 -0800

Comments inline.


—

Jeff Moore
Core Audio
Apple


On Dec 12, 2013, at 5:46 AM, Bertrand Van Kempen <email@hidden> wrote:

> Hello,
>
> Asking again because I'm still stuck on this one ;-(
>
> I would like to ask the HAL to resynchronize it's PLL on certain condition (i.e. when the external clock has changed).
> To do so, I increment the outSeed value returned by GetZeroTimeStamp but it looks like the HAL just ignores the seed.

Sounds like a bug. Please file it!


> At this point, the only way I find to "force" the HAL to resynchronize it's PLL is to change the sampling rate.
>
> How I have to do?

The general mechanism to interrupt IO is the RequestConfigChange/PerformConfigChange mechanism. You are using that mechanism for your sample rate change, but you don’t have to actually change the sample rate. Your Perform operation could be a no-op.


> Note: I noticed that inIOCycleInfo.mIOCycleCounter is always zero?!?
> the documentation says:
> @field          mCycleCounter
>                       The cycle ordinal number. This number starts at 1 for the first IO cycle and
>                        increments for each subsequent IO cycle. The count will recycle back to 1
>                        whenever the IO thread resynchronizes with the hardware.
> Is it a known issue?

No. It is not a known issue. Please file a bug!
 _______________________________________________
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: 
 >RE: AudioServerPlugin: resynchronization (From: Bertrand Van Kempen <email@hidden>)

  • Prev by Date: Re: AudioServerDriver self destruction?
  • Next by Date: Re: Change of factory presets in AU initiated by plugin
  • Previous by thread: RE: AudioServerPlugin: resynchronization
  • Next by thread: Edirol FA-101 under Mavericks
  • Index(es):
    • Date
    • Thread