Audio Units: weirdness happens in Reset()
Audio Units: weirdness happens in Reset()
- Subject: Audio Units: weirdness happens in Reset()
- From: Artemiy Pavlov <email@hidden>
- Date: Wed, 28 Jun 2006 23:35:42 +0300
Hello all!
I have been struggling to solve this for quite a few days by now.
Basically, I have several state variables defined as public: in the
main class. These variables are all set to 0.0 in Reset(). And then
you know how it goes - before the "while (nSampleFrames-- > 0) ..."
cycle I set a local variable to the state variable's value, then set
the state variable to the local variable's value after the cycle.
Nothing special, except that after Reset() is called, one of the
variables may get a value of +inf or nan (even if it is left
untouched in the process cycle!). How in the world could this be
happening if Reset() explicitly sets them to 0.0?
My AU passes all of the auval tests just fine. I should also note
that this seems to only happen in Wave Editor and not in Garage Band,
though Evan (the nice Wave Editor developer) correctly suggested that
the host doesn't have to do with what happens inside Reset()...
unless it somehow fiddles with the parameter values too somehow... I
am really puzzled :-/
All the best,
Artemiy.
_______________________________________________
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