• 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: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change


  • Subject: Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
  • From: Doug Wyatt <email@hidden>
  • Date: Tue, 7 Sep 2010 08:42:39 -0700

On Sep 3, 2010, at 17:34 , Ross Bencina wrote:
> One thing is still bothering me: I don't understand why the AU is calling my IOProc when it refuses to supply the audio data until it is reconfigured. The main issue here is that I don't know what the concurrency requirements are:
>
> - So I can change the sample rate without stopping and uninitializing/re-initializing the AUHAL?

Yes; AUHAL will stop performing I/O (even as the underlying HAL IOProc continues to run) during a reconfiguration.


> - Is it safe to reconfigure the sample rate the the notification callback, even if the IOProc might be running,

Yes


> or would this cause a deadlock?

No


cheers,
Doug

 _______________________________________________
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: 
 >help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change (From: "Ross Bencina" <email@hidden>)
 >Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change (From: William Stewart <email@hidden>)
 >Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change (From: "Ross Bencina" <email@hidden>)
 >Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change (From: William Stewart <email@hidden>)
 >Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change (From: "Ross Bencina" <email@hidden>)

  • Prev by Date: RE: sample rate conversion
  • Next by Date: ExtAudioFileRead sometimes slow on iPhone
  • Previous by thread: Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
  • Next by thread: iTunes 10: Sample Rate bug fixed?
  • Index(es):
    • Date
    • Thread