Re: vBigDSP FFT
Re: vBigDSP FFT
- Subject: Re: vBigDSP FFT
- From: Stephen Davis <email@hidden>
- Date: Tue, 13 Jul 2004 17:21:53 -0700
The sample code is old. To fix it, you can change most of the #include
references to just be:
#include <CoreServices/CoreServices.h>
and add the CoreServices framework to your application.
Using the Accelerate framework is a better option, as others have noted.
stephen
On Jul 13, 2004, at 4:45 PM, Aristotel Digenis wrote:
Hello John,
Thanks for the suggestion to use Accelerate framework. I saw it
before, but I assumed the vBigDSP would be faster. Perhaps not, I will
try it though.
Regarding my error with the vBigDSP, I am using xCode actually. I
tried to include the Carbon framework but that did not solve the
problem. Thinking about it, I don't think it would, because neither
the "errors.h" or "MacMemory." which the compiler cannot find, as not
in the Carbon Framework. "MacMemory.h" is in the CoreServices
framework, which is in my xCode project already (which is why its
wierd that it doesn't find it during compilation).
There is "errors.h" in the Kernel framework, but even when I include
that to my xCode project, the compiler cannot find "errors.h". Any
other suggestions as to what I could possibly be doing wrong?
Thanks once again! :-)
john wrote:
Hi Aristotel,
You might want to consider using Apple's Accelerate framework
(formerly veclib) instead, specifically vDSP. I was using the vBigDSP
for a while since it was easier to use (at least for me), but then I
switched to veclib and the performance increase was tremendous.
Check this link, there's some helpful sample code:
http://developer.apple.com/hardware/ve/vector_libraries.html
As for your error, it sounds like you are using Codewarrior? With
xcode, just adding the Carbon framework should work. With CW, you
might need to check your search paths and make modifications as
necessary.
-- John
Hello, this is not a question about AudioUnits (more of a
programming/compile errors) but I have noticed in the archives that
people have used vBigDSP before. I am trying to add Apple's vBigDSP
to my program. The vBigDSP has the following:
#include <errors.h>
#include <math.h>
#include <MacMemory.h>
#include "vBigDSP.h"
When I try to compile it, it cannot find errors.h and MacMemory.h
I searched the finder and noticed that there is no "errors.h" but
there is "Errors.h". I tried to change the include line in the code
to "Errors.h" but it still gives me the error: "vBigDSP.c:72:20:
Errors.h: No such file or directory"
The file MacMemory.h also is found in the finder but the compiler
cannot find it.
In fact there are several copies of both MacMemory.h and errors.h in
different directories on the computer.
Has anybody else had this problem? And if so, how did you go about
fixing it?
I should also say....funny thing is that the code also includes
<AltiVec.h>. The compiler doesn't give me problems about it.
But...the file does not exist on the hard drive! How does it give me
a compiler error for the files that do exist and no compiler error
for the files that don't exist?
Thank you in advance. 8-)
_______________________________________________
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.
_______________________________________________
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.