Re: Where is 'valloc'?
Re: Where is 'valloc'?
- Subject: Re: Where is 'valloc'?
- From: Kurt Revis <email@hidden>
- Date: Tue, 25 Mar 2003 01:01:27 -0800
On Tuesday, March 25, 2003, at 12:16 AM, Steve wrote:
I thought users of this list may have tried to use the Apple vBigDSP
Altivec FFT sample, which uses calls to 'valloc'.
I can not find how to use valloc (in CW)
man valloc just says to use <unistd.h>, but this doesn't help.
How doesn't it help? What problem exactly are you having?
As far as I know, you don't actually need valloc. Plain old malloc
always aligns to at least 16-byte boundaries on OS X. (Unless
CodeWarrior allows you to link against its own peculiar version of
malloc... I don't know if this is the case or not, but it's possible.)
Any help would be appreciated, or failing that, what is the preferred
G4 FFT code to use at the moment
I've used the FFT routines in the vecLib framework (vDSP.h) and they
work just fine. My understanding is that they are improved versions of
what you see in the vBigDSP sample code, but I haven't done a
head-to-head comparison.
--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.