• 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: Error in AudioUnitRender()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in AudioUnitRender()


  • Subject: Re: Error in AudioUnitRender()
  • From: Doug Wyatt <email@hidden>
  • Date: Fri, 9 Dec 2005 18:29:36 -0800

You can interrogate kAudioUnitProperty_MaximumFramesPerSlice and respect it -- or you can set it:

UInt32 frames = 2048;
AudioUnitSetProperty(myReverbAUInstance,
	kAudioUnitProperty_MaximumFramesPerSlice,
	kAudioUnitScope_Global,
	0,
	&frames,
	sizeof(frames));

Doug

On Dec 9, 2005, at 18:17, john wrote:

Hi,

Thanks Philippe, that's what I was looking for!

I implemented this and while using the Matrix Reverb I'm getting kAudioUnitErr_TooManyFramesToProcess. I'm sure (well, I hope) I can just reduce the frames (it is 2048 frames with floating point data), but is there any way to determine the maximum frame count without trial and error?

Thanks!

-- John

-- Doug Wyatt Core Audio, Apple

_______________________________________________
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: Error in AudioUnitRender()
      • From: Jeremy Sagan <email@hidden>
    • More on: Error in AudioUnitRender()
      • From: john <email@hidden>
    • Re: Error in AudioUnitRender()
      • From: john <email@hidden>
References: 
 >Question about using AudioUnits (From: john <email@hidden>)
 >Re: Question about using AudioUnits (From: philippe wicker <email@hidden>)
 >Error in AudioUnitRender() (From: john <email@hidden>)

  • Prev by Date: Error in AudioUnitRender()
  • Next by Date: Re: Error in AudioUnitRender()
  • Previous by thread: Error in AudioUnitRender()
  • Next by thread: Re: Error in AudioUnitRender()
  • Index(es):
    • Date
    • Thread