Re: Error in AudioUnitRender()
Re: Error in AudioUnitRender()
- Subject: Re: Error in AudioUnitRender()
- From: Jeremy Sagan <email@hidden>
- Date: Sat, 10 Dec 2005 13:24:02 -0500
Hello Doug,
When I do this with 2048 frames as shown below it succeeds with noErr
however when I call AudioUnitRender
I get a kAudioUnitErr_TooManyFramesToProcess error every time. Is
there any explanation for this? Is there anything else that could
cause this?
I have tried this on both the reverb and the DLSMusicDevice.
FYI, it always works fine with 1024 frames.
Jeremy
On Dec 9, 2005, at 9:29 PM, Doug Wyatt wrote:
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:
40verizon.net
This email sent to email@hidden
_______________________________________________
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