Re: auval failure after AU-SDK upgrade
Re: auval failure after AU-SDK upgrade
- Subject: Re: auval failure after AU-SDK upgrade
- From: William Stewart <email@hidden>
- Date: Wed, 7 Apr 2010 12:34:51 -0700
so, the message is saying that:
(1) the size of the output buffer that was being returned from the audio unit does not match the number of frames that were requested.
For instance, if I ask you to render 512 samples, then the buffer size should be 2048 bytes (512 * sizeof(float)).
So, there must be an override in your code somewhere because the AUBase render methods should be handling this correctly.
Bill
ps - the reason this may not have occurred in the past is that the AUBase render code was not explicitly checking these arguments, so the sizes wouldn't match as they should have.
On Apr 7, 2010, at 2:55 AM, Motti Shneor wrote:
> Hello everyone.
>
> I'm trying to move a set of AU Effects (based on the AUMidiEffectBase) from CoreAudioSDK v1.4.4 up to the current CoreAudioSDK from the latest XCode 3.2.1 release (it has no version specified).
>
> I switched the SDK source references, and I had to change several method overrides for their new signatures (mainly in the view-component) before I could build it all.
>
> I then try to validate my effects using auval -v , and they all fail for the same reason.
>
> Checking parameter setting
> Using AudioUnitSetParameter
> Using AudioUnitScheduleParameter
> ERROR: Output Buffer Size does not match requested num frames
>
> * * FAIL
>
>
> This problem has not occurred in the past using the same code and CoreAudioSDK v1.4.4.
>
> I searched the problem up the CoreAudio-API list, and found that this error was related to an old bug in the AUEffectBase back in 2004! I suppose this bug is no longer in the SDK (actually, not in the 1.4.4 SDK I used before). Here's the link to the reference:
>
> http://lists.apple.com/archives/coreaudio-api/2004/Sep/msg00190.html
>
>
> Can anyone help me figure out what the failure means, and where to look for the problem?
>
>
> Following is an excerpt from one effect report. I removed the bulk of individual parameter tests because they seem to be OK and they all PASS.
>
> Thanks!
_______________________________________________
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