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

More on: Error in AudioUnitRender()


  • Subject: More on: Error in AudioUnitRender()
  • From: john <email@hidden>
  • Date: Sat, 10 Dec 2005 00:11:19 -0500

Hi Doug,

I think I realised the paramErr I'm getting - I'd like the audio data in interleaved format and am preparing the AudioBufferList for the call to AudioUnitRender accordingly. If I call AudioUnitSetProperty with kAudioUnitPropertyStreamFormat and kAudioUnitScope_Output (or _Global) I'm still getting the error when calling AudioUnitRender.

Can this be done, or do I have to be able to support 2 non- interleaved channels?

Thanks.

-- John



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
_______________________________________________
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: More on: Error in AudioUnitRender()
      • From: philippe wicker <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>)
 >Re: Error in AudioUnitRender() (From: Doug Wyatt <email@hidden>)

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