FFT-AU: strange behaviour
FFT-AU: strange behaviour
- Subject: FFT-AU: strange behaviour
- From: Benjamin Federer <email@hidden>
- Date: Sat, 14 Apr 2007 14:43:28 +0200
Hi all,
I am new to this list and got some questions (naturally). I already
searched this list's archive
over and over again, but was not finding something useful.
I am trying to do a fft (using the apple real fft provided with the vDSP
library)
inside a audio unit. Using the stripped-down fft code from the Apple
tutorial works
fine on itself, as well as the audio unit does - without the processing.
As soon as
I implement the vDSP routines into process(), the AU behaves strange (I
am using
AU Lab for testing, my AU instantiated on the stereo master channel):
- Sometimes it crashes on startup, more often it starts up flawlessly.
- On removing and/or re-instantiating it crashes often but not always.
- As soon as an input device (sfplayer or internal mic) is opened, the AU
either crashes, cuts the audio or passes only one of the stereo
channels.
- Once crashed the report tells me this:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x3f63f7b7
I am sorry if I am missing something obvious, but as I said, I am new to
this subject.
If you know of any sample code about AUs with FFT, please let me know -
I guess I am
not the first one trying this.
Also I'd like to request the host's signal vector size or frame packet
size (or whatever
it is called within this context). Do you know of any method I could use?
Thanks in advance for any replies
.beni
_______________________________________________
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