• 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: Where is 'valloc'?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Where is 'valloc'?
      • From: Steve <email@hidden>
References: 
 >Where is 'valloc'? (From: Steve <email@hidden>)

  • Prev by Date: Re: Where is 'valloc'?
  • Next by Date: Re: Where is 'valloc'?
  • Previous by thread: Re: Where is 'valloc'?
  • Next by thread: Re: Where is 'valloc'?
  • Index(es):
    • Date
    • Thread