• 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: "Ross Bencina" <email@hidden>
  • Date: Sat, 4 Sep 2010 10:34:58 +1000

Hi Bill

Are you saying that in 10.5 or previous AUHAL did do sample rate conversion in this case?

Nope, it never did

Ok, good to know.


Can I reconfigure the AU in the sample rate change notification callback? (ie reentrantly?)

sure - that's what AU Lab does


Alright.

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?

- Is it safe to reconfigure the sample rate the the notification callback, even if the IOProc might be running, or would this cause a deadlock?

Thanks

Ross


_______________________________________________ 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: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
      • From: Doug Wyatt <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>)

  • Prev by Date: Re: Building a 10.4 compatible CA driver on 10.6
  • Next by Date: Re: sample rate conversion
  • Previous by thread: Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
  • Next by thread: Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
  • Index(es):
    • Date
    • Thread